From 751d77a9bf994aa292d599a09a9a4bd5aba67d68 Mon Sep 17 00:00:00 2001 From: NekoMio Date: Mon, 28 Feb 2022 19:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86PushDeer=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=8E=A8=E9=80=81=E6=88=90=E5=8A=9F=E7=9A=84=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= 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 53c198ac..dd5adb76 100644 --- a/back/services/notify.ts +++ b/back/services/notify.ts @@ -129,7 +129,7 @@ export default class NotificationService { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, }) .json(); - return res.result.success === 'ok'; + return res.content.result.length > 0; } private async bark() {