Skip to content

Commit

Permalink
chore(docs): minor adapter docs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed May 8, 2024
1 parent 09a3691 commit b7d1f9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/getting-started/adapters/typeorm.mdx
Expand Up @@ -83,7 +83,7 @@ You can override the default entities and add additional fields with a custom en

1. Create a file containing your modified entities:

```ts filename="lib/entities.ts"
```ts filename="lib/entities.ts" {38-39}
import {
Entity,
PrimaryGeneratedColumn,
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/getting-started/adapters/upstash-redis.mdx
Expand Up @@ -122,7 +122,7 @@ const defaultOptions = {
Usually changing the `baseKeyPrefix` should be enough for this scenario, but for more custom setups, you can also change the prefixes of every single key.

```ts
export default NextAuth({
export const { handlers, auth, signIn, signOut } = NextAuth({
adapter: UpstashRedisAdapter(redis, { baseKeyPrefix: "app2:" }),
})
```

0 comments on commit b7d1f9e

Please sign in to comment.