lint: padaccess.js

This commit is contained in:
John McLear 2021-02-21 20:33:20 +00:00 committed by Richard Hansen
parent 029729a386
commit 40d7480d5b

View file

@ -2,7 +2,7 @@
const securityManager = require('./db/SecurityManager');
// checks for padAccess
module.exports = async function (req, res) {
module.exports = async (req, res) => {
try {
const {session: {user} = {}} = req;
const accessObj = await securityManager.checkAccess(