Skip to content

Commit d3070ee

Browse files
committed
:chore: Remove unused value (#2199)
1 parent 694a0f0 commit d3070ee

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/routes/workbooks/create/+page.server.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ export const actions = {
6565
}
6666

6767
// Note: form.data includes authorId
68-
const workBook = {
69-
...form.data,
70-
id: 0, // Dummy id (Prisma will auto-generate it)
71-
};
68+
const workBook = { ...form.data };
7269

7370
try {
7471
await workBooksCrud.createWorkBook(workBook);

0 commit comments

Comments
 (0)