修改了PushDeer判断推送成功的方式

This commit is contained in:
NekoMio 2022-02-28 19:33:42 +08:00
parent 8c3690366c
commit 751d77a9bf
No known key found for this signature in database
GPG Key ID: 4151059D56C21E8E

View File

@ -129,7 +129,7 @@ export default class NotificationService {
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
})
.json();
return res.result.success === 'ok';
return res.content.result.length > 0;
}
private async bark() {