Skip to content
Browse files

remove_grant doesn't get a req argument

  • Loading branch information...
1 parent 8238548 commit 547f3ab380162a1c85ef506b13d5109e9c137386 @RandomEtc RandomEtc committed Jan 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/simple.js
View
2 examples/simple.js
@@ -40,7 +40,7 @@ myOAP.on('save_grant', function(req, client_id, code, next) {
});
// remove the grant when the access token has been sent
-myOAP.on('remove_grant', function(req, user_id, client_id, code) {
+myOAP.on('remove_grant', function(user_id, client_id, code) {
if(myGrants[user_id] && myGrants[user_id][client_id])
delete myGrants[user_id][client_id];
});

0 comments on commit 547f3ab

Please sign in to comment.
Something went wrong with that request. Please try again.