Skip to content

Commit

Permalink
Merge pull request #1453 from adampurser-zendesk/add-result-info-to-r…
Browse files Browse the repository at this point in the history
…aw-response

Add ResultInfo to RawResponse
  • Loading branch information
jacobbednarz committed Nov 28, 2023
2 parents 2fea785 + cc5972a commit 0702a65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1453.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
cloudflare: Add ResultInfo to RawResponse
```
3 changes: 2 additions & 1 deletion cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ type ResultInfo struct {
// RawResponse keeps the result as JSON form.
type RawResponse struct {
Response
Result json.RawMessage `json:"result"`
Result json.RawMessage `json:"result"`
ResultInfo *ResultInfo `json:"result_info,omitempty"`
}

// Raw makes a HTTP request with user provided params and returns the
Expand Down

0 comments on commit 0702a65

Please sign in to comment.