Skip to content

Commit

Permalink
fix code example
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Oct 13, 2024
1 parent 9c22a51 commit c32d091
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/drizzle-orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/prisma.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down
2 changes: 1 addition & 1 deletion pages/sessions/basic-api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ import { generateSessionToken, createSession } from "./session.js";

const token = generateSessionToken();
const session = createSession(token, userId);
setSessionTokenCookie(session);
setSessionTokenCookie(token);
```

Validate a user-provided token with `validateSessionToken()`.
Expand Down

0 comments on commit c32d091

Please sign in to comment.