From 70bba631f4bab115e93e2aeb82612cad4d133c31 Mon Sep 17 00:00:00 2001 From: Sam Hellawell Date: Tue, 8 Oct 2024 13:34:31 +0100 Subject: [PATCH] Fix finding registry route --- pages/api/find-registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {