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