Skip to content

Commit ac51c7c

Browse files
authored
Change response from no content to OK with message
1 parent c30755b commit ac51c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/pkg/handlers/message_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ func (h *MessageHandler) Get(c *fiber.Ctx) error {
483483
return h.responseInternalServerError(c)
484484
}
485485

486-
return h.responseNoContent(c, "message fetched successfully")
486+
return h.responseOK(c, "message fetched successfully", message)
487487
}
488488

489489
// PostCallMissed registers a missed phone call

0 commit comments

Comments
 (0)