mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:57:32 +00:00
cleanup
This commit is contained in:
@@ -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({
|
||||
|
@@ -91,7 +91,6 @@ export async function getHostedLoginTranslation({
|
||||
{},
|
||||
)
|
||||
.then((resp) => {
|
||||
console.log(resp);
|
||||
return resp.translations ? resp.translations : undefined;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user