Skip to content

Commit

Permalink
fixed bug where project doesn't update
Browse files Browse the repository at this point in the history
  • Loading branch information
wrighbr committed Jul 16, 2020
1 parent 255770f commit 2097a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func resourceProjectRead(d *schema.ResourceData, m interface{}) error {
func resourceProjectUpdate(d *schema.ResourceData, m interface{}) error {
apiClient, body := projectAPIClientRequest(d, m)

_, err := apiClient.SendRequest("PUT", pathProjects, body, 200)
_, err := apiClient.SendRequest("PUT", d.Id(), body, 200)
if err != nil {
return err
}
Expand Down

0 comments on commit 2097a10

Please sign in to comment.