Skip to content

Commit

Permalink
api: Update Render by adding the request
Browse files Browse the repository at this point in the history
  • Loading branch information
roosterfish committed Sep 9, 2024
1 parent 9d77895 commit b2cf47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewResponse(response *http.Response) response.Response {
}

// Render implements response.Response for Response, enabling use with a rest.EndpointAction Handler function.
func (r *Response) Render(w http.ResponseWriter) error {
func (r *Response) Render(w http.ResponseWriter, req *http.Request) error {
decoder := json.NewDecoder(r.response.Body)

var responseRaw *api.ResponseRaw
Expand Down

0 comments on commit b2cf47c

Please sign in to comment.