mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
@@ -94,6 +94,7 @@ func readBodyAsError(res *http.Response) error {
|
||||
}
|
||||
}
|
||||
|
||||
//nolint:varnamelen
|
||||
var m httpapi.Response
|
||||
err := json.NewDecoder(res.Body).Decode(&m)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user