diff --git a/packages/modal/src/modalManager.ts b/packages/modal/src/modalManager.ts index 16d6b50b0..d5abe58e5 100644 --- a/packages/modal/src/modalManager.ts +++ b/packages/modal/src/modalManager.ts @@ -37,8 +37,8 @@ const getWhiteLabel = async (clientId: string): Promise => { } const url = new URL(`${signerHost}/api/whitelabel`); url.searchParams.append("project_id", clientId); - const res = await get<{ whiteLabel: WhiteLabelData }>(url.href); - return res.whiteLabel; + const res = await get<{ whitelabel: WhiteLabelData }>(url.href); + return res.whitelabel; } catch (e) { throw new Error(`Failed to get whitelabel config: ${(e as Error).message}`); }