diff --git a/lib/auth.ts b/lib/auth.ts index c575852..9450907 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -687,7 +687,7 @@ export const registerUserWithInvite = async ({ */ export const sendVerificationLink = async (email: string) => { try { - const response = await fetch(`${BASE_URL}/api/user/sendVerificationLink?email=${email}`); + const response = await fetch(`${JAVA_BASE_URL}/api/user/sendVerificationLink?email=${email}`); const data = await response.json(); if(!data.success){ throw new Error(data.message||data.msg)