From b4a83b4e87df2f42b5bf6cb1c8348c458c0c858a Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Tue, 14 Aug 2018 08:32:42 -0400 Subject: [PATCH] Small formatting change --- app/routes/api/keys.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/routes/api/keys.js b/app/routes/api/keys.js index c08c37e..b3311e2 100644 --- a/app/routes/api/keys.js +++ b/app/routes/api/keys.js @@ -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};