Skip to content

Commit

Permalink
New translation api
Browse files Browse the repository at this point in the history
  • Loading branch information
szabozoltan69 committed Oct 4, 2024
1 parent ed8ef4b commit 5e79257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 5e79257

Please sign in to comment.