diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c14f4f8..f1ffbcb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed +- Add paymentTerms field on create cost center mutation + ## [0.52.0] - 2024-08-05 ### Added diff --git a/node/resolvers/Mutations/CostCenters.ts b/node/resolvers/Mutations/CostCenters.ts index 15973218..2fec8610 100644 --- a/node/resolvers/Mutations/CostCenters.ts +++ b/node/resolvers/Mutations/CostCenters.ts @@ -28,6 +28,7 @@ const CostCenters = { customFields, marketingTags, sellers, + paymentTerms, }, }: { organizationId: string; input: CostCenterInput }, ctx: Context @@ -70,6 +71,7 @@ const CostCenters = { phoneNumber, sellers, stateRegistration, + paymentTerms, } return await CostCenterRepository.createCostCenter( @@ -101,6 +103,7 @@ const CostCenters = { customFields, marketingTags, sellers, + paymentTerms, }, }: { organizationId: string; input: CostCenterInputWithId }, ctx: Context @@ -145,6 +148,7 @@ const CostCenters = { phoneNumber, sellers, stateRegistration, + paymentTerms, } const { id: costCenterId } = await CostCenterRepository.createCostCenter(