mirror of
https://github.com/Foltik/Shimapan
synced 2025-01-05 15:58:03 -05:00
Small formatting change
This commit is contained in:
parent
93b62ee703
commit
b4a83b4e87
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user