Update notify.ts

This commit is contained in:
Appoip 2022-09-04 11:14:05 +08:00 committed by GitHub
parent 14da719d99
commit db056d63a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();