mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-02 22:42:19 +00:00
chore: improve code
This commit is contained in:
parent
f499427916
commit
37df855249
2 changed files with 2 additions and 1 deletions
server/notification-providers
|
@ -29,6 +29,7 @@ class PushPlus extends NotificationProvider {
|
|||
"template": "html"
|
||||
};
|
||||
await axios.post(url, params, config);
|
||||
return okMsg;
|
||||
} catch (error) {
|
||||
this.throwGeneralAxiosError(error);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue