Skip to content

Commit

Permalink
Merge pull request #113 from lbacz/bugfix/not-woking-tax-rate-amount
Browse files Browse the repository at this point in the history
#112 corrected checking for changes in tax rate update
  • Loading branch information
davidweterings authored Apr 6, 2020
2 parents 90239a2 + f2b8abd commit 3a0c925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commercetools/resource_tax_category_rate.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func resourceTaxCategoryRateUpdate(d *schema.ResourceData, m interface{}) error
Actions: []commercetools.TaxCategoryUpdateAction{},
}

if d.HasChange("name") || d.HasChange("included_in_price") || d.HasChange("country") || d.HasChange("state") || d.HasChange("sub_rate") {
if d.HasChange("name") || d.HasChange("amount") || d.HasChange("included_in_price") || d.HasChange("country") || d.HasChange("state") || d.HasChange("sub_rate") {
taxRateDraft, err := createTaxRateDraft(d)
if err != nil {
return err
Expand Down

0 comments on commit 3a0c925

Please sign in to comment.