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 i18nOrganization = _headers.get("x-zitadel-i18n-organization") || ""; // You may need to set this header in middleware
console.log("i18nOrganization:", i18nOrganization);
let translations: JsonObject | {} = {};
try {
const i18nJSON = await getHostedLoginTranslation({

View File

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