Fixed linter error

refs a90f9d275c
This commit is contained in:
Kevin Ansfield 2022-05-24 17:56:12 +01:00
parent a90f9d275c
commit 90be535eb8

View File

@ -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