mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
parent
a90f9d275c
commit
90be535eb8
1 changed files with 2 additions and 2 deletions
|
@ -383,13 +383,13 @@ export default ModalComponent.extend({
|
||||||
updateSupportAddress: task(function* () {
|
updateSupportAddress: task(function* () {
|
||||||
let url = this.get('ghostPaths.url').api('/settings/members/email');
|
let url = this.get('ghostPaths.url').api('/settings/members/email');
|
||||||
try {
|
try {
|
||||||
const response = yield this.ajax.post(url, {
|
yield this.ajax.post(url, {
|
||||||
data: {
|
data: {
|
||||||
email: this.supportAddress,
|
email: this.supportAddress,
|
||||||
type: 'supportAddressUpdate'
|
type: 'supportAddressUpdate'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// this.toggleProperty('showSupportAddressConfirmation');
|
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Failed to send email, retry
|
// Failed to send email, retry
|
||||||
|
|
Loading…
Add table
Reference in a new issue