Skip to content

Commit

Permalink
fix: createProductMutation uses the product fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed May 27, 2021
1 parent 2a257f8 commit 684f75d
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions app/mutations/product/createProductMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,7 @@ const mutation = graphql`
createProduct(input: $input) {
productEdge {
node {
id
productName
units
requiresEmissionAllocation
productState
isCiipProduct
isEnergyProduct
addPurchasedElectricityEmissions
subtractExportedElectricityEmissions
addPurchasedHeatEmissions
subtractExportedHeatEmissions
subtractGeneratedElectricityEmissions
subtractGeneratedHeatEmissions
requiresProductAmount
...ProductRowItemContainer_product
}
}
}
Expand Down

0 comments on commit 684f75d

Please sign in to comment.