rename checkusername to be more fitting and provide more context
parent
16d6cdc57e
commit
3c40f4ea5b
|
@ -1,6 +1,6 @@
|
||||||
import { IS_CALCOM } from "@calcom/lib/constants";
|
import { IS_CALCOM } from "@calcom/lib/constants";
|
||||||
|
|
||||||
import { checkRegularUsername } from "./checkRegularUsername";
|
import { checkRegularUsername } from "./checkRegularUsername";
|
||||||
import { usernameCheck } from "./username";
|
import { usernameCheck as checkPremiumUsername } from "./username";
|
||||||
|
|
||||||
export const checkUsername = !IS_CALCOM ? checkRegularUsername : usernameCheck;
|
export const checkUsername = !IS_CALCOM ? checkRegularUsername : checkPremiumUsername;
|
||||||
|
|
Loading…
Reference in New Issue