Skip to content

Commit 49a7a51

Browse files
authored
chore(examples): fix "board update" in start-convex-trellaux (#3802)
1 parent 020c4c2 commit 49a7a51

File tree

1 file changed

+1
-1
lines changed
  • examples/react/start-convex-trellaux/convex

1 file changed

+1
-1
lines changed

examples/react/start-convex-trellaux/convex/board.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const updateBoard = mutation({
177177
args: updateBoardSchema,
178178
handler: async (ctx, boardUpdate) => {
179179
const board = await ensureBoardExists(ctx, boardUpdate.id)
180-
await ctx.db.patch(board._id, board)
180+
await ctx.db.patch(board._id, boardUpdate)
181181
},
182182
})
183183

0 commit comments

Comments
 (0)