Skip to content

Commit

Permalink
update query type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasey committed Sep 6, 2023
1 parent b5a177a commit dfb6703
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/proposals/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dfb6703

Please sign in to comment.