Skip to content

Commit c894b95

Browse files
Merge pull request #189 from Speedrunyourknowledge/develop
Update auth.ts
2 parents c1a111d + ffe6a11 commit c894b95

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

calc-backend/src/lib/auth.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ export const auth = betterAuth({
2525
verification: {
2626
modelName: "verification",
2727
fields: {
28-
identifier: "_id"
28+
_id: "id",
29+
identifier: "identifier",
30+
value: "value",
31+
expiresAt: "expires_at",
32+
createdAt: "created_at",
33+
updatedAt: "updated_at"
2934
},
3035
disableCleanup: false
3136
},

0 commit comments

Comments
 (0)