I-36 Remove dependency to PATH const

This commit is contained in:
Reginald Bondoc
2022-11-30 23:39:23 +01:00
parent f9bf418bf8
commit d8aa5b5ff4
57 changed files with 54 additions and 125 deletions

View File

@@ -1,5 +1,3 @@
import { PATH } from "~/const";
/**
* This route check the verification code from the email that user just recieved
* @param {*} email
@@ -7,7 +5,7 @@ import { PATH } from "~/const";
* @returns
*/
const checkEmailVerificationCode = (email, code) => {
return fetch(PATH + "/api/v1/signup/email/verify", {
return fetch("/api/v1/signup/email/verify", {
method: "POST",
headers: {
"Content-Type": "application/json",