9447f16b82
* WIP * WIP * Type and migration fixes * Adds missing default import * Fixes import * Fixes tRPC imports in App Store * Migrate stripe helpers * WIP * Type fixes * Type fix? * Test fixes * Adds missing stripe packages * Moved queries to lib instead Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
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;
|