From 88d9ff35482b078f69d4807c9c78b59f92169a09 Mon Sep 17 00:00:00 2001 From: shevijacobson Date: Tue, 29 Oct 2024 16:30:26 +0200 Subject: [PATCH] Change getTasksByIds from POST to GET and add filterParam Signed-off-by: shevijacobson --- client/src/app/api/rest.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/api/rest.ts b/client/src/app/api/rest.ts index 99f3ec519..80f313204 100644 --- a/client/src/app/api/rest.ts +++ b/client/src/app/api/rest.ts @@ -365,9 +365,10 @@ export function getTasksByIds( const isYaml = format === "yaml"; const headers = isYaml ? { ...yamlHeaders } : { ...jsonHeaders }; const responseType = isYaml ? "text" : "json"; + const filterParam = `id:(${ids.join("|")})`; return axios - .post(`${TASKS}/multiple`, ids, { + .get(`${TASKS}`, { headers: headers, responseType: responseType, })