rename checkusername to be more fitting and provide more context

feat/signup-refactor
Sean Brydon 2023-10-26 11:12:34 +01:00
parent 16d6cdc57e
commit 3c40f4ea5b
1 changed files with 2 additions and 2 deletions

View File

@ -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;