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* () {
|
||||
let url = this.get('ghostPaths.url').api('/settings/members/email');
|
||||
try {
|
||||
const response = yield this.ajax.post(url, {
|
||||
yield this.ajax.post(url, {
|
||||
data: {
|
||||
email: this.supportAddress,
|
||||
type: 'supportAddressUpdate'
|
||||
}
|
||||
});
|
||||
// this.toggleProperty('showSupportAddressConfirmation');
|
||||
|
||||
return true;
|
||||
} catch (e) {
|
||||
// Failed to send email, retry
|
||||
|
|
Loading…
Add table
Reference in a new issue