From ef9b15c1d7130a2515f7116fae442e30c3f045e5 Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Thu, 13 Jul 2017 14:56:28 -0700 Subject: [PATCH] bracket typo --- server/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server.js b/server/server.js index 294cb78a..ed4ab692 100644 --- a/server/server.js +++ b/server/server.js @@ -191,8 +191,8 @@ app.post('/upload', (req, res, next) => { if ( !meta.hasOwnProperty('aad') || !meta.hasOwnProperty('id') || - !meta.hasOwnProperty('filename' || - !validateIV(meta.id)) + !meta.hasOwnProperty('filename') || + !validateIV(meta.id) ) { res.sendStatus(404); return;