From 27632d82139399e56fc43248b07723b11ecb84dd Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Mon, 15 Apr 2024 15:23:14 -0700 Subject: [PATCH] fix: use correct "nft get" endpoint (#2589) fix my error --- packages/website/lib/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/lib/api.js b/packages/website/lib/api.js index 110dea1d45..d3fec3b2dd 100644 --- a/packages/website/lib/api.js +++ b/packages/website/lib/api.js @@ -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',