@@ -85,7 +85,7 @@ export const getRepresentationsProxy = (incidentID) => {
|
||||
};
|
||||
|
||||
export const getWatchedCases = (loggedInUserId) => {
|
||||
const route = buildFileQuery("/api/endpoint/getwatchedcases_api", {
|
||||
const route = buildFileQuery("/api/subscriptions/get-watched-cases", {
|
||||
loggedInUserId
|
||||
});
|
||||
|
||||
@@ -95,7 +95,7 @@ export const getWatchedCases = (loggedInUserId) => {
|
||||
};
|
||||
|
||||
export const getWatchedCasesProxy = (loggedInUserId) => {
|
||||
const route = buildFileQuery("/api/endpoint/getwatchedcasesproxy_api", {
|
||||
const route = buildFileQuery("/api/subscriptions/get-watched-cases-proxy", {
|
||||
loggedInUserId
|
||||
});
|
||||
|
||||
@@ -129,7 +129,7 @@ export const getAwaitingSubmission = (loggedInUserId) => {
|
||||
|
||||
export const createWatchedCases = async (formValues) => {
|
||||
var data = formValues;
|
||||
var queryUrl = buildFileQuery("/api/endpoint/createwatchedcases_api");
|
||||
var queryUrl = buildFileQuery("/api/subscriptions/create-watched-case");
|
||||
|
||||
var config = {
|
||||
method: "post",
|
||||
@@ -181,7 +181,7 @@ export const deleteAwaitingSubmissions = (incidentID) => {
|
||||
};
|
||||
|
||||
export const deleteWatchedCases = async (watchedCaseID) => {
|
||||
var queryUrl = buildFileQuery("/api/endpoint/deletewatchedcases_api", {
|
||||
var queryUrl = buildFileQuery("/api/subscriptions/delete-watched-case", {
|
||||
watchedCaseID
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user