修复群晖通知参数,任务视图不属于筛选

This commit is contained in:
whyour
2025-02-16 12:15:45 +08:00
parent 5d64aae452
commit 496918131f
6 changed files with 38 additions and 38 deletions
+2 -3
View File
@@ -182,11 +182,10 @@ export default class NotificationService {
}
private async chat() {
const { chatUrl, chatToken } = this.params;
const url = `${chatUrl}${chatToken}`;
const { synologyChatUrl } = this.params;
try {
const res: any = await got
.post(url, {
.post(synologyChatUrl, {
...this.gotOption,
body: `payload={"text":"${this.title}\n${this.content}"}`,
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },