parent
7ea79bf6a9
commit
94fbc0d32e
|
@ -38,6 +38,6 @@ func (d *Dependencies) TotalJokes(c *fiber.Ctx) error {
|
||||||
return c.
|
return c.
|
||||||
Status(fiber.StatusOK).
|
Status(fiber.StatusOK).
|
||||||
JSON(ResponseJoke{
|
JSON(ResponseJoke{
|
||||||
Message: strconv.Itoa(int(total[0])),
|
Message: string(total),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue