chore: fix build

This commit is contained in:
Henry
2024-10-17 22:09:19 +01:00
parent c979b2bb19
commit 5bd03e83f6
5 changed files with 196 additions and 182 deletions

View File

@@ -264,7 +264,7 @@ export const cardRouter = createTRPCRouter({
input.cardPublicId,
);
if (!card ?? !card?.list?.id)
if (!card?.list?.id)
throw new TRPCError({
message: `Card with public ID ${input.cardPublicId} not found`,
code: "NOT_FOUND",