Fix get profile

This commit is contained in:
Alexander Sheiko 2020-06-15 11:42:12 +03:00
parent efa4f96e3c
commit 2dc80b95cf
2 changed files with 3 additions and 2 deletions

View file

@ -37,6 +37,7 @@ func GetProfile(username string) (Profile, error) {
}
req.Header.Set("Accept-Language", "en-US")
req.Header.Set("X-Requested-With", "XMLHttpRequest")
resp, err := http.DefaultClient.Do(req)
if resp == nil {