Skip to content

Commit

Permalink
fix incorrect ref to whitelabel response
Browse files Browse the repository at this point in the history
  • Loading branch information
BboyStatix committed Oct 19, 2023
1 parent 6685cbe commit feb8cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/modal/src/modalManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const getWhiteLabel = async (clientId: string): Promise<WhiteLabelData> => {
}
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}`);
}
Expand Down

0 comments on commit feb8cb4

Please sign in to comment.