From 0c114b34c7adf50c8e7ca62c98e73de0ab36a0dd Mon Sep 17 00:00:00 2001 From: hyoseung930 <35983843+hyoseung930@users.noreply.github.com> Date: Fri, 17 Apr 2026 10:03:30 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=8F=B0=20=EC=9E=90=EB=8F=99=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=20=EC=82=AC=EC=9D=B4=ED=8A=B8=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `err_code 40011`도 "이미 수령"으로 처리해서 다음 날 크론에서 스킵되도록 적용됐습니다. --- back/src/wos/wos.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/back/src/wos/wos.service.ts b/back/src/wos/wos.service.ts index 09e82b3..9101985 100644 --- a/back/src/wos/wos.service.ts +++ b/back/src/wos/wos.service.ts @@ -181,8 +181,8 @@ export class WosService { result = { success: false, message: err.message || '오류 발생' }; } - if (result.err_code === 40008) { - result = { success: true, message: ALREADY_MSG, err_code: 40008 }; + if (result.err_code === 40008 || result.err_code === 40011) { + result = { success: true, message: ALREADY_MSG, err_code: result.err_code }; } if (result.err_code === 40007) { @@ -262,7 +262,7 @@ export class WosService { const result = await this.redeemOne(user.fid, code); const finalResult = - result.err_code === 40008 + result.err_code === 40008 || result.err_code === 40011 ? { success: true, message: ALREADY_MSG } : result;