diff --git a/api/handler/joke/joke_total.go b/api/handler/joke/joke_total.go index a820134..38299c1 100644 --- a/api/handler/joke/joke_total.go +++ b/api/handler/joke/joke_total.go @@ -38,6 +38,6 @@ func (d *Dependencies) TotalJokes(c *fiber.Ctx) error { return c. Status(fiber.StatusOK). JSON(ResponseJoke{ - Message: strconv.Itoa(int(total[0])), + Message: string(total), }) }