From ed1f7cb2af3356ace2670fb2b14d1943fdeb0893 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Sat, 3 Aug 2024 21:49:41 +0200 Subject: [PATCH] Linter.. --- clientapi/threepid/threepid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/threepid/threepid.go b/clientapi/threepid/threepid.go index 5a57ef9c35..ad94a49c6f 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 {