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
1 changed files with 3 additions and 1 deletions

View File

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