From 64d7ec929a075d83f940a5577a3851f62c392026 Mon Sep 17 00:00:00 2001 From: wwei-github <418047394@qq.com> Date: Mon, 4 Dec 2023 15:20:46 +0800 Subject: [PATCH] feat: about reject error --- src/logos/logos.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logos/logos.service.ts b/src/logos/logos.service.ts index 8065830..71940cf 100644 --- a/src/logos/logos.service.ts +++ b/src/logos/logos.service.ts @@ -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', }, }), );