Volver a hacer funcionar API de OpenSea
This commit is contained in:
parent
de8c681440
commit
8db4d463ad
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ func GetAssets() (Assets, error) {
|
||||||
return assets, err
|
return assets, err
|
||||||
}
|
}
|
||||||
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36")
|
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36")
|
||||||
|
req.Header.Set("x-api-key", "")
|
||||||
res, err := http.DefaultClient.Do(req)
|
res, err := http.DefaultClient.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return assets, err
|
return assets, err
|
||||||
|
|
Loading…
Reference in a new issue