diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-18 10:01:32 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-18 10:01:32 +0300 |
commit | dbcdb2075fecc350c6c9f97735b2cdd9105ada6a (patch) | |
tree | 720b329082555d6f2a643a2c98e22242a8a6043c /src/store | |
parent | f1c2c5f0d9bc5e800b402f9ca3f6d344a2f5b299 (diff) | |
download | webui-vue-dbcdb2075fecc350c6c9f97735b2cdd9105ada6a.tar.xz |
fix smtp message
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/Settings/SmtpStore.js b/src/store/modules/Settings/SmtpStore.js index a0240462..cf508029 100644 --- a/src/store/modules/Settings/SmtpStore.js +++ b/src/store/modules/Settings/SmtpStore.js @@ -90,8 +90,8 @@ const SmtpStore = { return await api .post('/redfish/v1/Smtp/SendMail', payload) .then((res) => { - if (res?.data?.result === false) { - return res.data; + if (res.data) { + return res; } }) .catch((error) => console.log(error)); |