Moved to new email channel urls.

This commit is contained in:
Martin Edenhofer 2017-02-15 05:48:50 +01:00
parent 3b4b6ea921
commit d0a62ecc39

View file

@ -474,7 +474,7 @@ class EmailNotification extends App.WizardFullScreen
@ajax( @ajax(
id: 'email_notification' id: 'email_notification'
type: 'POST' type: 'POST'
url: "#{@apiPath}/channels/email_notification" url: "#{@apiPath}/channels_email_notification"
data: JSON.stringify(params) data: JSON.stringify(params)
processData: true processData: true
success: (data, status, xhr) => success: (data, status, xhr) =>
@ -751,7 +751,7 @@ class ChannelEmail extends App.WizardFullScreen
@ajax( @ajax(
id: 'email_probe' id: 'email_probe'
type: 'POST' type: 'POST'
url: "#{@apiPath}/channels/email_probe" url: "#{@apiPath}/channels_email_probe"
data: JSON.stringify(params) data: JSON.stringify(params)
processData: true processData: true
success: (data, status, xhr) => success: (data, status, xhr) =>
@ -800,7 +800,7 @@ class ChannelEmail extends App.WizardFullScreen
@ajax( @ajax(
id: 'email_inbound' id: 'email_inbound'
type: 'POST' type: 'POST'
url: "#{@apiPath}/channels/email_inbound" url: "#{@apiPath}/channels_email_inbound"
data: JSON.stringify(params) data: JSON.stringify(params)
processData: true processData: true
success: (data, status, xhr) => success: (data, status, xhr) =>
@ -853,7 +853,7 @@ class ChannelEmail extends App.WizardFullScreen
@ajax( @ajax(
id: 'email_outbound' id: 'email_outbound'
type: 'POST' type: 'POST'
url: "#{@apiPath}/channels/email_outbound" url: "#{@apiPath}/channels_email_outbound"
data: JSON.stringify(params) data: JSON.stringify(params)
processData: true processData: true
success: (data, status, xhr) => success: (data, status, xhr) =>
@ -881,7 +881,7 @@ class ChannelEmail extends App.WizardFullScreen
@ajax( @ajax(
id: 'email_verify' id: 'email_verify'
type: 'POST' type: 'POST'
url: "#{@apiPath}/channels/email_verify" url: "#{@apiPath}/channels_email_verify"
data: JSON.stringify(account) data: JSON.stringify(account)
processData: true processData: true
success: (data, status, xhr) => success: (data, status, xhr) =>