From dfb6703787e11b0bb6a4657e3845b9ef81daf29d Mon Sep 17 00:00:00 2001 From: mattcasey Date: Wed, 6 Sep 2023 00:48:32 -0600 Subject: [PATCH] update query type --- src/lib/proposals/utils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }