Fix get profile
This commit is contained in:
parent
efa4f96e3c
commit
2dc80b95cf
2 changed files with 3 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue