7 lines
293 B
TypeScript
7 lines
293 B
TypeScript
import { checkPremiumUsername } from "@calcom/ee/lib/core/checkPremiumUsername";
|
|
import { IS_SELF_HOSTED } from "@calcom/lib/constants";
|
|
|
|
import { checkRegularUsername } from "./checkRegularUsername";
|
|
|
|
export const checkUsername = IS_SELF_HOSTED ? checkRegularUsername : checkPremiumUsername;
|