Formatting
This commit is contained in:
1 parent
b1d637d1a6
commit
dbfc1477aa
15 files changed
+41
-38
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user