Added id to the auth token

Resolved #1
This commit is contained in:
2021-03-07 06:41:01 +11:00
parent 2e024f71c3
commit aacd64a769
8 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ app.get('*', (req, res) => {
});
//startup
server.listen(process.env.WEB_PORT || 3200, (err) => {
database.sync();
server.listen(process.env.WEB_PORT || 3200, async (err) => {
await database.sync();
console.log(`listening to localhost:${process.env.WEB_PORT || 3200}`);
});