fix pb api
continuous-integration/drone/push Build is passing Details

CI/CD
Thomas Chazot 1 year ago
parent 3ec900b2d6
commit f606711cb6

@ -187,7 +187,7 @@ class AuthController {
try{
await db.connect();
const [users, fields] = await db.getUsers();
const users = await db.getUsers()[0];
console.log(users)
res.status(200).json({ tab : users });
@ -207,7 +207,7 @@ class AuthController {
try{
await db.connect();
const [users, fields] = await db.getGames();
const users = await db.getGames()[0];
console.log(users)
res.status(200).json({ tab : users });

Loading…
Cancel
Save