From fbda556bcfb7fdaf41b9f62b0929059d93ac37a7 Mon Sep 17 00:00:00 2001 From: JYKIM317 Date: Thu, 28 Nov 2024 23:43:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=A9=EC=86=A1=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20API=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 방송 중일 때 Not Found를 반환하던 문제를 해결했습니다. --- applicationServer/src/live/live.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applicationServer/src/live/live.service.ts b/applicationServer/src/live/live.service.ts index df6c292d..ff137e02 100644 --- a/applicationServer/src/live/live.service.ts +++ b/applicationServer/src/live/live.service.ts @@ -84,7 +84,7 @@ export class LiveService { async updateLiveData(tokenPayload, requestBody) { const member = await this.memberService.findOneMemberWithCondition({ id: tokenPayload.memberId }); - if (this.live.data.has(member.broadcast_id)) throw new HttpException('Not Found', HttpStatus.NOT_FOUND); + if (!this.live.data.has(member.broadcast_id)) throw new HttpException('Not Found', HttpStatus.NOT_FOUND); if (requestBody.thumbnail) { const imageData = Buffer.from(requestBody.thumbnail, 'base64');