From 3c40f4ea5b0806551a17d86deb4f4140d8135d7e Mon Sep 17 00:00:00 2001 From: Sean Brydon Date: Thu, 26 Oct 2023 11:12:34 +0100 Subject: [PATCH] rename checkusername to be more fitting and provide more context --- packages/lib/server/checkUsername.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/server/checkUsername.ts b/packages/lib/server/checkUsername.ts index d3a685919a..7107a11b4c 100644 --- a/packages/lib/server/checkUsername.ts +++ b/packages/lib/server/checkUsername.ts @@ -1,6 +1,6 @@ import { IS_CALCOM } from "@calcom/lib/constants"; 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;