From 4eea8c4884fb9eb9b401e7cebe7acafd06535b3a Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Wed, 4 Sep 2024 14:07:14 -0400 Subject: [PATCH] Redirect to creator profile edition upon creation of a new creator --- src/views/profile/creators/CreatorPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/profile/creators/CreatorPage.vue b/src/views/profile/creators/CreatorPage.vue index 2336dba..64c6108 100644 --- a/src/views/profile/creators/CreatorPage.vue +++ b/src/views/profile/creators/CreatorPage.vue @@ -40,7 +40,7 @@ async function requestAccept(creatorName) { 'name': creatorName }) if (response.status >= 200 && response.status < 300) { - await userStore.fetchCurrentUserProfile() + await userStore.fetchCurrentCreatorProfile() dialog.value = false } else { console.log(`An issue while creating the creator: ${response.statusText}`)