Skip to content

Commit 392be50

Browse files
committed
always search results for "data" key
1 parent 9dee9c9 commit 392be50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

restapi/resource_api_object.go

+1
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ func buildAPIObjectOpts(d *schema.ResourceData) (*apiObjectOpts, error) {
433433

434434
readSearch := expandReadSearch(d.Get("read_search").(map[string]interface{}))
435435
opts.readSearch = readSearch
436+
opts.readSearch["results_key"] = "data"
436437

437438
opts.data = d.Get("data").(string)
438439
opts.debug = d.Get("debug").(bool)

0 commit comments

Comments
 (0)