From b07c30aff74234058273d0206e339308292f4818 Mon Sep 17 00:00:00 2001 From: child Date: Thu, 2 Nov 2023 22:11:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dchronocat=E5=8F=91=E9=80=81?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E4=BD=86=E6=98=BE=E7=A4=BA=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/notify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/notify.ts b/back/services/notify.ts index 1de7f63e..e568bf5f 100644 --- a/back/services/notify.ts +++ b/back/services/notify.ts @@ -634,7 +634,7 @@ export default class NotificationService { json: data, headers, }); - if (res.body === 'success') { + if (res.statusCode === 200) { return true; } else { throw new Error(res.body);