Skip to content

Commit

Permalink
Merge pull request #109 from guillaumemeyer/patch-1
Browse files Browse the repository at this point in the history
Update call to queryParser for compatibility with Restify v5
  • Loading branch information
robin-liao authored May 25, 2018
2 parents 48d6795 + 2f4c100 commit 780f2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Node/samples/simpleFBAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class SimpleFBAuth
}

private constructor(server: any) {
server.use(restify.queryParser());
server.use(restify.plugins.queryParser());
server.get(SimpleFBAuth.AuthStartPath + '/:userId', (req, res, next) => this.authStart(req, res, next));
server.get(SimpleFBAuth.AuthCallbackPath, (req, res, next) => this.authCallback(req, res, next));
server.get(SimpleFBAuth.AuthStartOAuthPath, (req, res, next) => this.authStartOAuth(req, res, next));
Expand Down

0 comments on commit 780f2e1

Please sign in to comment.