mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复node pushdeer通知
This commit is contained in:
1 parent
952cdc0e3f
commit
4da8d8fe1e
4 files changed
+33
-38
No files matched your search
@@ -137,8 +137,8 @@ export default class NotificationService {
|
||||
}
|
||||
|
||||
private async chat() {
|
||||
const { chatUrl, chattoken } = this.params;
|
||||
const url = `${chatUrl}${chattoken}`;
|
||||
const { chatUrl, chatToken } = this.params;
|
||||
const url = `${chatUrl}${chatToken}`;
|
||||
const res: any = await got
|
||||
.post(url, {
|
||||
timeout: this.timeout,
|
||||
@@ -147,9 +147,7 @@ export default class NotificationService {
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
})
|
||||
.json();
|
||||
return (
|
||||
res.success
|
||||
);
|
||||
return res.success;
|
||||
}
|
||||
|
||||
private async bark() {
|
||||
|
||||
Reference in new issue
Block a user