diff --git a/frontend/src/stores/creatorProfileStore.js b/frontend/src/stores/creatorProfileStore.js index 58bb560..b728091 100644 --- a/frontend/src/stores/creatorProfileStore.js +++ b/frontend/src/stores/creatorProfileStore.js @@ -41,30 +41,15 @@ export const useCreatorProfileStore = defineStore( async function fetchCurrentCreatorProfile() { try { const creatorResponse = await client.get(`/api/creators/profile`); - console.log('creatorProfile'); - console.dir(creatorResponse.data) value.value = creatorResponse.data; - console.dir(value.value); - // TODO: no cache-busting ??? } catch (error) { - console.log(`!!!`) value.value = undefined; } } - async function ConfigureStripeAccount() { - try { - await client.post(`/api/membership/stripe-account`); - return true; - } catch (error) { - return false; - } - } - return { creator: value, hasCreator, - fetchCurrentCreatorProfile, - ConfigureStripeAccount, + fetchCurrentCreatorProfile }; });