refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)

This commit is contained in:
Michael Kret
2023-05-10 18:10:03 +03:00
committed by GitHub
parent 1b1dc0e655
commit ed3bc154b0
114 changed files with 351 additions and 344 deletions

View File

@@ -101,7 +101,7 @@ export default mixins(showMessage).extend({
};
},
mounted() {
this.getApiKey();
void this.getApiKey();
const baseUrl = this.rootStore.baseUrl;
const apiPath = this.settingsStore.publicApiPath;
const latestVersion = this.settingsStore.publicApiLatestVersion;
@@ -126,7 +126,7 @@ export default mixins(showMessage).extend({
this.$locale.baseText('generic.cancel'),
);
if (confirmed) {
this.deleteApiKey();
await this.deleteApiKey();
}
},
async getApiKey() {