From e70b9d618e08f77d801567ecf89678c58127b011 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 20 Feb 2018 14:22:33 -0500 Subject: [PATCH] fix linting errors --- server/controllers/project.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/controllers/project.controller.js b/server/controllers/project.controller.js index 7f276d48..03214185 100644 --- a/server/controllers/project.controller.js +++ b/server/controllers/project.controller.js @@ -222,12 +222,12 @@ export function projectForUserExists(username, projectId, callback) { callback(false); return; } - Project.findOne({_id: projectId, user: user._id}, (innerErr, project) => { + Project.findOne({ _id: projectId, user: user._id }, (innerErr, project) => { if (project) { callback(true); return; } - Project.findOne({slug: projectId, user: user._id}, (slugError, projectBySlug) => { + Project.findOne({ slug: projectId, user: user._id }, (slugError, projectBySlug) => { if (projectBySlug) { callback(true); return;