From 10918ba020872505f2183a6aaad3a8b2788eebc3 Mon Sep 17 00:00:00 2001 From: Avris Date: Tue, 22 Dec 2020 13:46:12 +0100 Subject: [PATCH] [bug] fix cannot delete profile --- components/ProfileOverview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ProfileOverview.vue b/components/ProfileOverview.vue index 8905a678..4edf2e05 100644 --- a/components/ProfileOverview.vue +++ b/components/ProfileOverview.vue @@ -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); },