This commit is contained in:
Max Peintner
2025-07-01 11:01:06 +02:00
parent 00e2bddc60
commit 8819be810b
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export default getRequestConfig(async () => {
const { serviceUrl } = getServiceUrlFromHeaders(_headers); const { serviceUrl } = getServiceUrlFromHeaders(_headers);
const i18nOrganization = _headers.get("x-zitadel-i18n-organization") || ""; // You may need to set this header in middleware const i18nOrganization = _headers.get("x-zitadel-i18n-organization") || ""; // You may need to set this header in middleware
console.log("i18nOrganization:", i18nOrganization);
let translations: JsonObject | {} = {}; let translations: JsonObject | {} = {};
try { try {
const i18nJSON = await getHostedLoginTranslation({ const i18nJSON = await getHostedLoginTranslation({

View File

@@ -91,7 +91,6 @@ export async function getHostedLoginTranslation({
{}, {},
) )
.then((resp) => { .then((resp) => {
console.log(resp);
return resp.translations ? resp.translations : undefined; return resp.translations ? resp.translations : undefined;
}); });