fix: config name for sms provider
This commit is contained in:
parent
99b47cc3c0
commit
9048c91a32
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ function getSms (event, phone, content) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPlugin (settings) {
|
function getPlugin (settings) {
|
||||||
const smsProvider = settings.config.notifications_thirdParty_provider
|
const smsProvider = settings.config.notifications_thirdParty_sms
|
||||||
const pluginCode = smsProvider ?? 'twilio'
|
const pluginCode = smsProvider ?? 'twilio'
|
||||||
const plugin = ph.load(ph.SMS, pluginCode)
|
const plugin = ph.load(ph.SMS, pluginCode)
|
||||||
const account = settings.accounts[pluginCode]
|
const account = settings.accounts[pluginCode]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue