1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 16:19:26 +00:00

Remove dangling commas

This commit is contained in:
2022-04-19 00:22:23 +00:00
parent 52c44f298e
commit c3d3de7677
11 changed files with 28 additions and 28 deletions

View File

@@ -66,7 +66,7 @@ router.post('/login', async (req, res) => {
'password'
],
{
email: 'email',
email: 'email'
}
).fields;
} catch (e) {

View File

@@ -52,7 +52,7 @@ router.get('/:id', async (req, res) => {
{
value: '50%',
text: 'Last percentage'
},
}
]
});
});
@@ -134,7 +134,7 @@ router.post('/:id/:userType(members|teachers)/add', async (req, res) => {
try {
fields = validator.validate(req.body,
[
'email',
'email'
], {
email: 'email'
}

View File

@@ -51,7 +51,7 @@ router.get('/:id', async (req, res) => {
{
value: '3',
text: 'Placeholder'
},
}
]
});
});
@@ -86,7 +86,7 @@ router.post('/:id/results/:resultId/edit', async (req, res) => {
try {
fields = validator.validate(req.body,
[
'mark',
'mark'
]
).fields;
} catch (e) {