From 1b2f3d7d4cd3b2762d53c9ebddfc44352beac02f Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 17 Jan 2022 06:49:41 +0000 Subject: [PATCH] basic search endppint missing slash --- actions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/index.js b/actions/index.js index c52d4e10..13c1ba42 100644 --- a/actions/index.js +++ b/actions/index.js @@ -119,7 +119,7 @@ export const getBasicSearch = (searchString) => { return axios .get( BASE_URL + - "api/endpoint/getbasicsearch_api?searchString=" + + "/api/endpoint/getbasicsearch_api?searchString=" + searchString ) .then((res) => { @@ -648,7 +648,7 @@ export const updateAccount = async (contactId, updateBody) => { export const createWatchedCases = (formValues) => { var data = formValues; - var queryUrl = window.apiRoot + "api/endpoint/createwatchedcases_api"; + var queryUrl = window.apiRoot + "/api/endpoint/createwatchedcases_api"; console.log(queryUrl); var config = {