diff options
Diffstat (limited to 'src/store/modules/Settings/SmtpStore.js')
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/Settings/SmtpStore.js b/src/store/modules/Settings/SmtpStore.js index 4312ecd9..a0240462 100644 --- a/src/store/modules/Settings/SmtpStore.js +++ b/src/store/modules/Settings/SmtpStore.js @@ -90,7 +90,7 @@ const SmtpStore = { return await api .post('/redfish/v1/Smtp/SendMail', payload) .then((res) => { - if (res.data.result === false) { + if (res?.data?.result === false) { return res.data; } }) |