: change rest

This commit is contained in:
StarAppeal
2024-03-06 05:35:48 +01:00
parent c3b23f2d1d
commit 8a494ab19b
+1 -1
View File
@@ -11,7 +11,7 @@ export class RestUser {
router.get("/", async (req, res) => {
const userService = await this.callback();
const users = await userService.getAllUsers();
res.status(200).send(users);
res.status(200).send({ users });
});
router.get("/:id", async (req, res) => {