Skip to content

Commit

Permalink
chore: update example with breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
psibean committed Aug 18, 2023
1 parent 54f6c06 commit 458b3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/complete/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ app.get("/", function (req, res) {

app.get("/csrf-token", (req, res) => {
return res.json({
token: generateToken(res, req),
token: generateToken(req, res),
});
});

Expand Down

0 comments on commit 458b3e5

Please sign in to comment.