Volver a hacer funcionar API de OpenSea

This commit is contained in:
Cat /dev/Nulo 2022-08-14 09:53:38 +02:00
parent de8c681440
commit 8db4d463ad

View file

@ -68,6 +68,7 @@ func GetAssets() (Assets, error) {
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("x-api-key", "")
res, err := http.DefaultClient.Do(req)
if err != nil {
return assets, err