fixed some missing awaits
This commit is contained in:
@@ -17,8 +17,8 @@ router.post('/', async (req, res) => {
|
||||
|
||||
const appVersion = 1;
|
||||
|
||||
createApplication(memberID, appVersion, JSON.stringify(App))
|
||||
setUserState(memberID, MemberState.Applicant);
|
||||
await createApplication(memberID, appVersion, JSON.stringify(App))
|
||||
await setUserState(memberID, MemberState.Applicant);
|
||||
|
||||
res.sendStatus(201);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user