Permalink
Browse files

Fix signature of remove_grant callback.

From 547f3ab

Closes #7
  • Loading branch information...
1 parent 8cb4ed0 commit cd9496b924021927120b60c2f64b8d256435e370 @ammmir committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/simple.js
View
@@ -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 cd9496b

Please sign in to comment.