Skip to content

Commit 935ad5b

Browse files
committed
cleanup
1 parent 4eb4b37 commit 935ad5b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/auth/auth.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (secret === "default") {
1010
secret = "default-secret";
1111
}
1212

13-
let authCookie = createCookie("auth", {
13+
const authCookie = createCookie("auth", {
1414
secrets: [secret],
1515
// 30 days
1616
maxAge: 30 * 24 * 60 * 60,

prisma/schema.prisma

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ model Board {
3636
updatedAt DateTime @updatedAt
3737
}
3838

39-
4039
model BoardRole {
4140
id String @id @default(uuid())
42-
role String // owner, editor
41+
role String // owner, editor
4342
board Board @relation(fields: [boardId], references: [id], onDelete: Cascade)
4443
boardId String
4544
user User @relation(fields: [userId], references: [id])

0 commit comments

Comments
 (0)