Skip to content

Commit 29785d9

Browse files
authored
Merge pull request #658 from trycompai/codex/replace-customs-id-s-with-custom-ids
Fix comment phrasing for ID generation
2 parents 99ecd8b + 54dcc86 commit 29785d9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

apps/app/src/utils/auth.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export const auth = betterAuth({
4141
"https://dev.trycomp.ai",
4242
],
4343
advanced: {
44-
database: {
45-
// This will enable us to fall back to DB for ID generation.
46-
// It's important so we can use customs ID's specified in Prisma Schema.
47-
generateId: false,
48-
},
44+
database: {
45+
// This will enable us to fall back to DB for ID generation.
46+
// It's important so we can use custom IDs specified in Prisma Schema.
47+
generateId: false,
48+
},
4949
},
5050
secret: process.env.AUTH_SECRET!,
5151
plugins: [

apps/framework-editor/app/lib/auth.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export const auth = betterAuth({
2323
provider: "postgresql",
2424
}),
2525
advanced: {
26-
database: {
27-
// This will enable us to fall back to DB for ID generation.
28-
// It's important so we can use customs ID's specified in Prisma Schema.
29-
generateId: false,
30-
},
26+
database: {
27+
// This will enable us to fall back to DB for ID generation.
28+
// It's important so we can use custom IDs specified in Prisma Schema.
29+
generateId: false,
30+
},
3131
},
3232
secret: process.env.AUTH_SECRET!,
3333
plugins: [nextCookies()],

apps/portal/src/app/lib/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const auth = betterAuth({
1414
}),
1515
advanced: {
1616
// This will enable us to fall back to DB for ID generation.
17-
// It's important so we can use customs ID's specified in Prisma Schema.
17+
// It's important so we can use custom IDs specified in Prisma Schema.
1818
generateId: false,
1919
},
2020
secret: process.env.AUTH_SECRET!,

0 commit comments

Comments
 (0)