Resolve linter issues

This commit is contained in:
Chi Vinh Le
2018-06-05 04:28:54 +02:00
parent d9a1d739dc
commit ccff6ed63b
148 changed files with 1171 additions and 265 deletions
@@ -8,7 +8,11 @@ const stringify = require('csv-stringify');
const { ErrDownloadToken } = require('./errors');
async function verifyDownloadToken(
{ connectors: { services: { Users } } },
{
connectors: {
services: { Users },
},
},
token
) {
const jwt = await Users.verifyToken(token, {
@@ -139,7 +143,12 @@ module.exports = router => {
return;
}
const { connectors: { graph: { Context }, errors } } = req.context;
const {
connectors: {
graph: { Context },
errors,
},
} = req.context;
try {
// Pull the userID and the date that the token was issued out of the