Skip to content

Commit

Permalink
feat: about reject error
Browse files Browse the repository at this point in the history
  • Loading branch information
wwei-github committed Dec 4, 2023
1 parent 6fca378 commit 64d7ec9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/logos/logos.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,13 @@ export class LogosService {
}

async checkLogo(logoIdList: CheckLogoDto[]) {
console.log('checkLogo', logoIdList);
const updateTask = logoIdList.map((item) =>
this.prismaService.logos.update({
where: {
id: item.id,
},
data: {
status: item.isAgree ? 'active' : 'checking',
status: item.isAgree == true ? 'active' : 'reject',
},
}),
);
Expand Down

0 comments on commit 64d7ec9

Please sign in to comment.