Skip to content

Commit

Permalink
fix milestone - issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveViss committed Aug 29, 2018
1 parent d7e8c98 commit 92c394e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ressources/middlewares.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
});
}
},
write: {
create: {
auth: function(req, res, context) {
passport.authenticate('bearer', {
session: false
Expand All @@ -29,5 +29,4 @@ module.exports = {
}
}
};

// SCOPE VS context.criteria();

0 comments on commit 92c394e

Please sign in to comment.