Skip to content

Commit

Permalink
fix code example
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowOnPaper committed Apr 2, 2024
1 parent 8a96125 commit d1b26d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posts/middleware-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ If you're too lazy to write some basic if checks, maybe that's a you problem. Bu
```ts
app.get(
"/",
adminOnlyRoute((req, res) => {
protectedRoute((req, res) => {
// ...
})
);
Expand Down

0 comments on commit d1b26d6

Please sign in to comment.