Skip to content

Commit eb0875e

Browse files
committed
fix: minor updates & improvements
1 parent 64d1c45 commit eb0875e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/controllers/card.controller.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ class CardController {
5151
) => {
5252
if (body.columnId) {
5353
const column = await prisma.column.findFirst({
54-
where: { id: body.columnId },
55-
include: { board: { select: { userId: true } } }
54+
where: { id: body.columnId }
5655
})
5756

5857
if (!column) return next(NotFound('Column not found'))

0 commit comments

Comments
 (0)