diff --git a/frontends/web/src/new_front/components/CreateSamples/CreateSamples/AnnotationInterfaces/Contexts/SelectMultipleTextMultipleTags.tsx b/frontends/web/src/new_front/components/CreateSamples/CreateSamples/AnnotationInterfaces/Contexts/SelectMultipleTextMultipleTags.tsx index f90e95af..86e0b7b1 100644 --- a/frontends/web/src/new_front/components/CreateSamples/CreateSamples/AnnotationInterfaces/Contexts/SelectMultipleTextMultipleTags.tsx +++ b/frontends/web/src/new_front/components/CreateSamples/CreateSamples/AnnotationInterfaces/Contexts/SelectMultipleTextMultipleTags.tsx @@ -106,7 +106,7 @@ const SelectMultipleTextMultipleTags: FC< setLoading2(true); setSelectionInfo([]); fetch( - `${process.env.REACT_APP_API_HOST_2}/context/get_random_context_from_key_value/`, + `${process.env.REACT_APP_API_HOST_2}/context/get_random_context_from_key_value`, { method: "POST", headers: { @@ -156,7 +156,7 @@ const SelectMultipleTextMultipleTags: FC< const newSelectionInfo = cleanUpSelection(selectionInfo, "color"); const sendText = text; setText(undefined); - await post("/example/create_example/", { + await post("/example/create_example", { context_id: contextId, user_id: userId, input_json: { labels: newSelectionInfo },