From c9295fdaa1e0c004a406f1f7b5fbf9e181afbc54 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 29 May 2021 17:03:54 -0500 Subject: actually get responses --- src/web/src/lib/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/src/lib/search.js b/src/web/src/lib/search.js index 47f431aa..2179dcd2 100644 --- a/src/web/src/lib/search.js +++ b/src/web/src/lib/search.js @@ -9,5 +9,5 @@ export const getStatus = async ({ id, includeResponses = false }) => { }; export const getResponses = async ({ id }) => { - return (await api.get(`/searches/${encodeURIComponent(id)}`)).data; + return (await api.get(`/searches/${encodeURIComponent(id)}/responses`)).data; }; \ No newline at end of file -- cgit v1.2.3