commit
This commit is contained in:
parent
06384b45d3
commit
a7a8565728
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ router.post('/', async (req, res) => {
|
|||
}
|
||||
|
||||
await addHelper(user.user.username, gameid);
|
||||
} catch {
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
return res.status(400).send({error: "invalid token"});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue