diff --git a/server/notification-providers/wpush.js b/server/notification-providers/wpush.js index 21fd37f0..db043f9c 100644 --- a/server/notification-providers/wpush.js +++ b/server/notification-providers/wpush.js @@ -20,7 +20,7 @@ class WPush extends NotificationProvider { }; const result = await axios.post("https://api.wpush.cn/api/v1/send", context); if (result.data.code !== 0) { - throw response.data.message; + throw result.data.message; } return okMsg;