From db056d63a77fcf6b31a99ea61089e776c9159596 Mon Sep 17 00:00:00 2001 From: Appoip <99581678+Appoip@users.noreply.github.com> Date: Sun, 4 Sep 2022 11:14:05 +0800 Subject: [PATCH] Update notify.ts --- 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 f1330cd8..dcb39c10 100644 --- a/back/services/notify.ts +++ b/back/services/notify.ts @@ -143,7 +143,7 @@ export default class NotificationService { .post(url, { timeout: this.timeout, retry: 0, - body: `payload={"text":"${this.title}"}`, + body: `payload={"text":"${this.title}\n${this.content}"}`, headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, }) .json();