Skip to content

Commit

Permalink
Updates express API sending a response
Browse files Browse the repository at this point in the history
  • Loading branch information
GregOnNet committed Feb 27, 2017
1 parent 76feef1 commit 7c6034c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -47,7 +47,7 @@
message = message(missing);
}

res.send(statusCode, message);
res.status(statusCode).send(message);
return;
}
}
Expand Down

0 comments on commit 7c6034c

Please sign in to comment.