We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d350f6f commit 16a6e83Copy full SHA for 16a6e83
1 file changed
gigachat.go
@@ -152,10 +152,6 @@ func (g *Gigachat) Auth() (int64, string) {
152
if response.StatusCode != http.StatusOK {
153
return 0, ""
154
}
155
- log.Println(response.StatusCode)
156
- if response.StatusCode != http.StatusOK {
157
- return 0, ""
158
- }
159
body, err := io.ReadAll(response.Body)
160
if err != nil {
161
log.Println(err)
0 commit comments