Skip to content

Commit

Permalink
fix: close res body (#3870)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
  • Loading branch information
testwill committed Apr 26, 2024
1 parent ab8e1b5 commit cc39f8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/testhelpers/selfservice_verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func GetRecoveryFlowForType(t *testing.T, client *http.Client, ts *httptest.Serv

res, err := client.Get(url)
require.NoError(t, err)
defer res.Body.Close()

var flowID string
switch ft {
Expand Down

0 comments on commit cc39f8d

Please sign in to comment.