Skip to content

Commit 16a6e83

Browse files
committed
small fix
1 parent d350f6f commit 16a6e83

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

gigachat.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ func (g *Gigachat) Auth() (int64, string) {
152152
if response.StatusCode != http.StatusOK {
153153
return 0, ""
154154
}
155-
log.Println(response.StatusCode)
156-
if response.StatusCode != http.StatusOK {
157-
return 0, ""
158-
}
159155
body, err := io.ReadAll(response.Body)
160156
if err != nil {
161157
log.Println(err)

0 commit comments

Comments
 (0)