Skip to content

Commit

Permalink
Update auth.go
Browse files Browse the repository at this point in the history
Ayo
  • Loading branch information
AmarnathCJD authored Apr 26, 2024
1 parent ae8a4dc commit be96dd4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions telegram/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"regexp"
Expand Down Expand Up @@ -307,9 +306,6 @@ func (c *Client) ScrapeAppConfig(config ...*ScrapeConfig) (int32, string, bool,
return 0, "", false, err
}

b, _ := ioutil.ReadAll(respCode.Body)
fmt.Println(string(b))

var result struct {
RandomHash string `json:"random_hash"`
}
Expand Down

0 comments on commit be96dd4

Please sign in to comment.