From 5e7925728ccfdd89ec6893b27d3a3eeb1dcc6240 Mon Sep 17 00:00:00 2001 From: Szabo Zoltan Date: Fri, 4 Oct 2024 11:12:03 +0200 Subject: [PATCH] New translation api --- lang/translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/translation.py b/lang/translation.py index 17fcbdc3f..569262965 100644 --- a/lang/translation.py +++ b/lang/translation.py @@ -73,7 +73,7 @@ def __init__(self): ): raise Exception("Translation configuration missing") self.domain = settings.IFRC_TRANSLATION_DOMAIN.strip("/") - self.url = f"{self.domain}/TranslationV2_API/api/Home/Translate" + self.url = f"{self.domain}/api/translate" self.headers = { "X-API-KEY": settings.IFRC_TRANSLATION_HEADER_API_KEY, }