Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove_grant doesn't get a req argument

  • Loading branch information...
commit 547f3ab380162a1c85ef506b13d5109e9c137386 1 parent 8238548
@RandomEtc RandomEtc authored
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];
});
Please sign in to comment.
Something went wrong with that request. Please try again.