Skip to content

Commit 0fb6124

Browse files
committed
fix(home): remove createPortalSession arguments
1 parent b81a9b9 commit 0fb6124

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/client/src/pages/home/Account/Billing/Billing.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ onMounted(async () => {
5050
5151
async function createPortalSession() {
5252
const { portalSessionUrl } =
53-
await trpcClient.users.account.stripe.createPortalSession.mutate({
54-
returnUrl: location.href,
55-
});
53+
await trpcClient.users.account.stripe.createPortalSession.mutate();
5654
5755
location.href = portalSessionUrl;
5856
}

0 commit comments

Comments
 (0)