Skip to content

Commit b1cbe0a

Browse files
committed
Use correct middleware for access_token endpoint in README.
1 parent 8802acb commit b1cbe0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ application:
6969

7070
app.post('/access_token',
7171
passport.authenticate('consumer', { session: false }),
72-
oauthorize.requestToken(
72+
oauthorize.accessToken(
7373
// ...
7474
});
7575

0 commit comments

Comments
 (0)