fix linting errors

This commit is contained in:
Cassie Tarakajian 2018-01-09 16:21:40 -05:00
parent 81f7c53a1b
commit c50f64c0f3
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,6 @@ import { Router } from 'express';
import { renderIndex } from '../views/index'; import { renderIndex } from '../views/index';
import { get404Sketch } from '../views/404Page'; import { get404Sketch } from '../views/404Page';
import { userExists } from '../controllers/user.controller'; import { userExists } from '../controllers/user.controller';
import { getProjectAsset } from '../controllers/project.controller';
const router = new Router(); const router = new Router();

View file

@ -1,6 +1,7 @@
export default function isAuthenticated(req, res, next) { export default function isAuthenticated(req, res, next) {
if (req.user) { if (req.user) {
return next(); next();
return;
} }
res.status(403).send({ res.status(403).send({
success: false, success: false,