2
0
Files
cal/calcom/packages/lib/getBookerUrl/getBookerBaseUrlSync.ts
2024-08-09 00:39:27 +02:00

11 lines
243 B
TypeScript

import { getOrgFullOrigin } from "@calcom/ee/organizations/lib/orgDomains";
export const getBookerBaseUrlSync = (
orgSlug: string | null,
options?: {
protocol: boolean;
}
) => {
return getOrgFullOrigin(orgSlug ?? "", options);
};