Formatting

This commit is contained in:
zomars committed 2022-07-12 11:52:13 -06:00
1 parent b1d637d1a6
commit dbfc1477aa
15 files changed
+41 -38

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import slugify from "@calcom/lib/slugify";
import { WEBSITE_URL } from "@calcom/lib/constants";
import slugify from "@calcom/lib/slugify";
interface ResponseUsernameApi {
available: boolean;
@@ -10,7 +10,7 @@ interface ResponseUsernameApi {
export async function checkPremiumUsername(_username: string): Promise<ResponseUsernameApi> {
const username = slugify(_username);
const response = await fetch(`${ WEBSITE_URL }/api/username`, {
const response = await fetch(`${WEBSITE_URL}/api/username`, {
credentials: "include",
headers: {
"Content-Type": "application/json",