rc: pass response writer when needsResponse is set instead of pointer

rc: Fix failing tests for *http.ResponseWriter
This commit is contained in:
Chaitanya Bankanhal
2020-08-15 23:33:07 +05:30
committed by Nick Craig-Wood
parent a9713cd0ed
commit 6308153ae7
2 changed files with 2 additions and 2 deletions

View File

@@ -266,7 +266,7 @@ func (s *Server) handlePost(w http.ResponseWriter, r *http.Request, path string)
}
if call.NeedsResponse {
in["_response"] = &w
in["_response"] = w
}
// Check to see if it is async or not