Skip to content

Commit

Permalink
fix: use correct "nft get" endpoint (#2589)
Browse files Browse the repository at this point in the history
fix my error
  • Loading branch information
travis authored Apr 15, 2024
1 parent 88c05a9 commit 27632d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export async function getNfts({ limit, before }) {
* @param {{cid: string }} query
*/
export async function getNft({ cid }) {
const res = await fetch(`${API}/cid/${cid}`, {
const res = await fetch(`${API}/${cid}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 27632d8

Please sign in to comment.