From 29a3d747d7b22f24eedab86720c009f96b1d602f Mon Sep 17 00:00:00 2001 From: na2na-p Date: Sun, 1 May 2022 23:35:22 +0900 Subject: [PATCH] =?UTF-8?q?Fix[Reminder]RN=E5=AF=BE=E8=B1=A1=E3=81=AE?= =?UTF-8?q?=E5=89=8A=E9=99=A4=E3=81=8C=E3=81=AA=E3=81=95=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E5=A0=B4=E5=90=88=E3=81=B8=E5=85=A5=E3=82=8B?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E5=88=86=E5=B2=90=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/reminder/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/reminder/index.ts b/src/modules/reminder/index.ts index a10794d..efdf674 100644 --- a/src/modules/reminder/index.ts +++ b/src/modules/reminder/index.ts @@ -157,7 +157,7 @@ export default class extends Module { }); } catch (err) { // renote対象が消されていたらリマインダー解除 - if (err.statusCode === 400 && err.error.error.message === 'No such renote target.') { + if (err.statusCode === 400) { this.unsubscribeReply(remind.thing == null && remind.quoteId ? remind.quoteId : remind.id); this.reminds.remove(remind); return;