Skip to content

Commit

Permalink
fixed variant-group revise submit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcmichael committed Oct 20, 2023
1 parent ac43b56 commit 91ec6bd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function variantGroupFormModelToReviseInput(
): Maybe<SuggestVariantGroupRevisionInput> {
let input = variantGroupFormModelToInput(model)
if (input) {
delete input.organizationId
return {
id: gid,
fields: {
Expand All @@ -54,6 +55,7 @@ export function variantGroupFormModelToInput(
sourceIds: fields.sourceIds || [],
name: fields.name!,
variantIds: fields.variantIds || [],
organizationId: model.organizationId,
}
}
}

0 comments on commit 91ec6bd

Please sign in to comment.