diff --git a/pages/api/find-registry.js b/pages/api/find-registry.js index 03b9649..ca64cf0 100644 --- a/pages/api/find-registry.js +++ b/pages/api/find-registry.js @@ -8,7 +8,7 @@ export default async (req, res) => { } const result = await fetch( - `${dockUrl}/registries?did=${encodeURIComponent(req.query.did)}&type=${encodeURIComponent(req.query.searchType)}`, + `${dockUrl}/registries?did=${encodeURIComponent(req.query.did)}&type=${encodeURIComponent(req.query.type)}`, { method: 'GET', headers: {