Skip to content

Commit b7d1f9e

Browse files
committed
chore(docs): minor adapter docs cleanup
1 parent 09a3691 commit b7d1f9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/pages/getting-started/adapters/typeorm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ You can override the default entities and add additional fields with a custom en
8383

8484
1. Create a file containing your modified entities:
8585

86-
```ts filename="lib/entities.ts"
86+
```ts filename="lib/entities.ts" {38-39}
8787
import {
8888
Entity,
8989
PrimaryGeneratedColumn,

docs/pages/getting-started/adapters/upstash-redis.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const defaultOptions = {
122122
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.
123123

124124
```ts
125-
export default NextAuth({
125+
export const { handlers, auth, signIn, signOut } = NextAuth({
126126
adapter: UpstashRedisAdapter(redis, { baseKeyPrefix: "app2:" }),
127127
})
128128
```

0 commit comments

Comments
 (0)