diff --git a/src/lib/proposals/utils.ts b/src/lib/proposals/utils.ts index 1c84b50a..1bba81bd 100644 --- a/src/lib/proposals/utils.ts +++ b/src/lib/proposals/utils.ts @@ -2,9 +2,7 @@ import type { Prisma } from '@prisma/client'; import { InvalidInputError } from '../errors'; -export function generateCategoryIdQuery( - categoryIds?: string | string[] -): Prisma.ProposalCategoryWhereInput['id'] | undefined { +export function generateCategoryIdQuery(categoryIds?: string | string[]): Prisma.ProposalWhereInput['id'] | undefined { if (!categoryIds) { return undefined; }