We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81a9b9 commit 0fb6124Copy full SHA for 0fb6124
apps/client/src/pages/home/Account/Billing/Billing.vue
@@ -50,9 +50,7 @@ onMounted(async () => {
50
51
async function createPortalSession() {
52
const { portalSessionUrl } =
53
- await trpcClient.users.account.stripe.createPortalSession.mutate({
54
- returnUrl: location.href,
55
- });
+ await trpcClient.users.account.stripe.createPortalSession.mutate();
56
57
location.href = portalSessionUrl;
58
}
0 commit comments