Skip to content

Commit

Permalink
Made an eslint mistake, to test travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
p0psicles committed Dec 7, 2017
1 parent 53d2acc commit 210a3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const authenticate = function(request, response, next) {
throw new ResponseException('401 - Unauthorized request', 403);
}

if (!request.body) {
if (!request.body){
console.log('401 - Missing request body');
throw new ResponseException('401 - Missing request body', 401);
}
Expand Down

0 comments on commit 210a3b7

Please sign in to comment.