Skip to content

Commit

Permalink
feat: change search key
Browse files Browse the repository at this point in the history
  • Loading branch information
wwei-github committed Nov 3, 2023
1 parent 7185ae7 commit 6fca378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logos/logos.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class LogosService {
};
}
if (logoType) {
where.logoName = logoType;
where.logoType = logoType;
}
const total = await this.prismaService.logoNames.count({ where });
const result = await this.prismaService.logoNames.findMany({
Expand Down

0 comments on commit 6fca378

Please sign in to comment.