Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamariduena committed Mar 5, 2022
1 parent 7c199f9 commit 1a16c02
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,21 @@ When do we need to whitelist a domain?
```javascript
api/v1/
```

<br>

- to this:

```javascript
// before
const openseaData = await axios.get(
// permalink
`https://testnets-api.opensea.io/assets?asset_contract_address=0x8Cbb2AE3eB35fB23f2BE1E388Faf6544a9D9fcC8&order_direction=asc&limit=4`
);
//
// after
const openseaData = await axios.get(
// permalink
`https://testnets-api.opensea.io/api/v1/assets?asset_contract_address=0x8Cbb2AE3eB35fB23f2BE1E388Faf6544a9D9fcC8&order_direction=asc&limit=4`
);
```

0 comments on commit 1a16c02

Please sign in to comment.