forked from 77media/video-flow
JAVA_BASE_URL
This commit is contained in:
parent
805b7b91ec
commit
edc1587ef7
@ -687,7 +687,7 @@ export const registerUserWithInvite = async ({
|
|||||||
*/
|
*/
|
||||||
export const sendVerificationLink = async (email: string) => {
|
export const sendVerificationLink = async (email: string) => {
|
||||||
try {
|
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();
|
const data = await response.json();
|
||||||
if(!data.success){
|
if(!data.success){
|
||||||
throw new Error(data.message||data.msg)
|
throw new Error(data.message||data.msg)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user