diff --git a/src/gql/mutation/marketing.ts b/src/gql/mutation/marketing.ts index 1b38f400..320a4a37 100644 --- a/src/gql/mutation/marketing.ts +++ b/src/gql/mutation/marketing.ts @@ -28,7 +28,6 @@ export type GQLMarketingMutationFields = DeepPartial<{ export const marketingMutationString = ( args: QueryMarketingMutationArgs, - excludeParentObject: boolean, fields?: DeepPartial ) => { const GQLMarketingMutationQuery: string[] = [] @@ -81,7 +80,6 @@ export const marketingMutationString = ( return `mutation { marketing { - ${GQLMarketingMutationQuery.join("\n")} } }` @@ -93,4 +91,4 @@ export const marketingMutation = async ( headers: HeadersInit, fields?: DeepPartial ): Promise => - doGqlQuery(marketingMutationString(args, true, fields), endpt, headers) + doGqlQuery(marketingMutationString(args, fields), endpt, headers)