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,4 +1,3 @@
import { PATH } from "~/const";
import SecurityClient from "~/utilities/SecurityClient";
/**
@@ -8,7 +7,7 @@ import SecurityClient from "~/utilities/SecurityClient";
*/
const getLatestFileKey = (workspaceId) => {
return SecurityClient.fetchCall(
PATH + "/api/v1/key/" + workspaceId + "/latest",
"/api/v1/key/" + workspaceId + "/latest",
{
method: "GET",
headers: {