aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-05-29 17:03:54 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-05-29 17:03:54 -0500
commitc9295fdaa1e0c004a406f1f7b5fbf9e181afbc54 (patch)
tree3ec1b959beb5dcf60b74f2b7ab797fb1941dac9f /src
parentfbbaf853dcc135e43a7500bf56287098a84edca6 (diff)
downloadslskd-c9295fdaa1e0c004a406f1f7b5fbf9e181afbc54.tar.gz
actually get responses
Diffstat (limited to 'src')
-rw-r--r--src/web/src/lib/search.js2
1 files changed, 1 insertions, 1 deletions
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