diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-12 17:09:07 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-12 17:09:07 +0300 |
commit | 6236064bf4c21c350026fafb875551fda8699a15 (patch) | |
tree | bed1c151c8a44c23fe0ef2640caa583658bfac9a /src/store | |
parent | 8289e3bff6c1c43db5a0288d32c2fae05a8c0b86 (diff) | |
download | webui-vue-6236064bf4c21c350026fafb875551fda8699a15.tar.xz |
add test msg req
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/store/modules/Settings/SmtpStore.js b/src/store/modules/Settings/SmtpStore.js index 38f60cf1..b89b99b6 100644 --- a/src/store/modules/Settings/SmtpStore.js +++ b/src/store/modules/Settings/SmtpStore.js @@ -23,14 +23,9 @@ const SmtpStore = { throw new Error(i18n.t('pageTransfer.saveSmtpError')); }); }, - async sendTestMessage(payload) { + async sendTestMessage(_, payload) { return await api.get( - `redfish/v1/Smtp/SendMail - &from=${payload.from} - &to=${payload.subscribers} - &subject=theme - &text=text - ` + `redfish/v1/Smtp/SendMail&from=${payload.from}&to=${payload.to}&subject=${payload.subject}&text=${payload.text}` ); }, }, |