diff --git a/clientapi/threepid/threepid.go b/clientapi/threepid/threepid.go index 5a57ef9c3..ad94a49c6 100644 --- a/clientapi/threepid/threepid.go +++ b/clientapi/threepid/threepid.go @@ -83,7 +83,7 @@ func CreateSession( if err != nil { return "", err } - defer resp.Body.Close() + defer resp.Body.Close() // nolint: errcheck // Error if the status isn't OK if resp.StatusCode != http.StatusOK {