Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
Odyssey 2023-01-07 18:57:57 +01:00
parent e3b87c8a4a
commit 6d0d1a3cb0

View File

@ -38,8 +38,10 @@ func main() {
return c.SendStatus(fiber.StatusInternalServerError) return c.SendStatus(fiber.StatusInternalServerError)
} }
output := string(out)
return c.JSON(fiber.Map{ return c.JSON(fiber.Map{
"users": string(out), "users": output,
"status": c.Response().StatusCode(), "status": c.Response().StatusCode(),
}) })
}) })