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
+1 -2
View File
@@ -1,4 +1,3 @@
import { PATH } from "~/const";
import SecurityClient from "~/utilities/SecurityClient";
/**
@@ -8,7 +7,7 @@ import SecurityClient from "~/utilities/SecurityClient";
* @returns
*/
const getUser = (req, res) => {
return SecurityClient.fetchCall(PATH + "/api/v1/user", {
return SecurityClient.fetchCall("/api/v1/user", {
method: "GET",
headers: {
"Content-Type": "application/json",