[bug] fix cannot delete profile

This commit is contained in:
Andrea Vos 2020-12-22 13:46:12 +01:00
parent cdba6c0157
commit 163b589d56

View File

@ -40,7 +40,7 @@
await this.$confirm(this.$t('profile.deleteConfirm'), 'danger');
this.deleting = true;
const response = await this.$axios.$post(`/profile/delete/${locale}`);
const response = await this.$axios.$post(`/profile/delete`);
this.deleting = false;
this.$emit('update', response);
},