Skip to content

Commit

Permalink
Fix doc code bug (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihuayu authored Feb 22, 2024
1 parent cd9484b commit 0bc8ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/guides/validate-session-cookies/hono.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ app.use("*", (c, next) => {
return next();
});

app.use("*", (c, next) => {
app.use("*", async (c, next) => {
const sessionId = getCookie(lucia.sessionCookieName) ?? null;
if (!sessionId) {
c.set("user", null);
Expand Down

0 comments on commit 0bc8ebb

Please sign in to comment.