Skip to content

Commit 1c38529

Browse files
committed
update Translation UI
1 parent 32d1535 commit 1c38529

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Translation/ui/svelte/src/lib/shared/Network.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export async function fetchLanguageResponse(input: string, transform: string, tr
2323
payload = {
2424
language_from: transform,
2525
language_to: transTo,
26-
source_language: input,
26+
source_data: input,
27+
translate_type: "text",
2728
};
2829
url = `${BASE_URL}`;
2930

0 commit comments

Comments
 (0)