remove return url
All checks were successful
Tests / Tests (pull_request) Successful in 10s

This commit is contained in:
2026-05-01 13:15:18 -07:00
parent 8367c2d0cd
commit 20f50368c9
3 changed files with 6 additions and 13 deletions

View File

@@ -2457,10 +2457,6 @@ export type MutationCreateChallengeArgs = {
startDate: Scalars["DateTime"]["input"];
};
export type MutationCreateCustomerPortalSessionArgs = {
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
};
export type MutationCreateRuleSetArgs = {
description?: InputMaybe<Scalars["String"]["input"]>;
name: Scalars["String"]["input"];
@@ -4712,7 +4708,7 @@ export type CreateSubscriptionMutation = {
};
export type CreateCustomerPortalSessionMutationVariables = Exact<{
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
[key: string]: never;
}>;
export type CreateCustomerPortalSessionMutation = {
@@ -9612,8 +9608,8 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
CreateSubscriptionMutationVariables
>;
export const CreateCustomerPortalSessionDocument = gql`
mutation CreateCustomerPortalSession($returnUrl: String) {
createCustomerPortalSession(returnUrl: $returnUrl) {
mutation CreateCustomerPortalSession {
createCustomerPortalSession {
portalUrl
}
}
@@ -9636,7 +9632,6 @@ export type CreateCustomerPortalSessionMutationFn = Apollo.MutationFunction<
* @example
* const [createCustomerPortalSessionMutation, { data, loading, error }] = useCreateCustomerPortalSessionMutation({
* variables: {
* returnUrl: // value for 'returnUrl'
* },
* });
*/

View File

@@ -20,8 +20,8 @@ mutation CreateSubscription($priceId: String!) {
}
}
mutation CreateCustomerPortalSession($returnUrl: String) {
createCustomerPortalSession(returnUrl: $returnUrl) {
mutation CreateCustomerPortalSession {
createCustomerPortalSession {
portalUrl
}
}

View File

@@ -1117,9 +1117,7 @@ type Mutation {
ensureStripeCustomerExists: UserGQL!
deleteUser: Boolean!
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
createCustomerPortalSession(
returnUrl: String = null
): CreateCustomerPortalSessionResultGQL!
createCustomerPortalSession: CreateCustomerPortalSessionResultGQL!
cancelSubscription: UserSubscriptionStatusGQL!
grantManualEntitlement(
userId: Int!