Skip to content

Commit

Permalink
#112 corrected checking for changes in tax rate update
Browse files Browse the repository at this point in the history
  • Loading branch information
lbacz committed Mar 19, 2020
1 parent 657ecb6 commit f2b8abd
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 f2b8abd

Please sign in to comment.