forked from ProjectSegfault/publapi
bruhhh
Signed-off-by: Odyssey <odyssey346@disroot.org>
This commit is contained in:
parent
e3b87c8a4a
commit
6d0d1a3cb0
4
main.go
4
main.go
@ -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(),
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user