Skip to content

Commit

Permalink
feat(dns_record): toggle stricter drift detection (#5212)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Feb 27, 2025
1 parent 274d393 commit b59d34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/dns_record/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (r *DNSRecordResource) Read(ctx context.Context, req resource.ReadRequest,
return
}
bytes, _ := io.ReadAll(res.Body)
err = apijson.UnmarshalComputed(bytes, &env)
err = apijson.Unmarshal(bytes, &env)
if err != nil {
resp.Diagnostics.AddError("failed to deserialize http request", err.Error())
return
Expand Down

0 comments on commit b59d34c

Please sign in to comment.