chore: improve code

This commit is contained in:
Teror Fox 2025-03-26 23:30:59 +08:00 committed by GitHub
parent f499427916
commit 37df855249
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions
server/notification-providers

View file

@ -29,6 +29,7 @@ class PushPlus extends NotificationProvider {
"template": "html"
};
await axios.post(url, params, config);
return okMsg;
} catch (error) {
this.throwGeneralAxiosError(error);
}