mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复chronocat发送成功但显示出错
This commit is contained in:
parent
b8cb1588fc
commit
b07c30aff7
|
@ -634,7 +634,7 @@ export default class NotificationService {
|
||||||
json: data,
|
json: data,
|
||||||
headers,
|
headers,
|
||||||
});
|
});
|
||||||
if (res.body === 'success') {
|
if (res.statusCode === 200) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
throw new Error(res.body);
|
throw new Error(res.body);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user