aboutsummaryrefslogtreecommitdiff
path: root/clientapi/threepid/threepid.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/threepid/threepid.go')
-rw-r--r--clientapi/threepid/threepid.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/threepid/threepid.go b/clientapi/threepid/threepid.go
index 5a57ef9c..ad94a49c 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 {