1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-05 15:58:03 -05:00

Small formatting change

This commit is contained in:
Jack Foltz 2018-08-14 08:32:42 -04:00
parent 93b62ee703
commit b4a83b4e87
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -58,7 +58,9 @@ router.get('/get', requireAuth('key.get'), bodyVerifier(getProps), wrap(async (r
res.status(200).json(keys);
}));
const deleteProps = [{name: 'key', type: 'string'}, {name: 'issuer', type: 'string', optional: true}];
const deleteProps = [
{name: 'key', type: 'string'},
{name: 'issuer', type: 'string', optional: true}];
router.post('/delete', requireAuth('key.delete'), bodyVerifier(deleteProps), wrap(async (req, res) => {
let query = {key : req.body.key};