mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 13:37:35 +00:00
cleanup
This commit is contained in:
@@ -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({
|
||||||
|
@@ -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;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user