Skip to content
This repository was archived by the owner on Feb 25, 2019. It is now read-only.

Various bugfixes and style adjustments #110

Merged
merged 17 commits into from
Jun 30, 2015
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(authorizations): Use correct function to send only status code
adalinesimonian committed Jun 30, 2015

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 3a27f8fb5b5a172194bdacfea6f91beebe8eab67
2 changes: 1 addition & 1 deletion routes/authorizations.js
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ module.exports = function (server) {

AccessToken.revoke(uid, cid, function (err, confirm) {
if (err) { return next(err); }
res.status(204).send()
res.sendStatus(204);
});
});