added in oauth fo dev

This commit is contained in:
2021-11-15 14:49:44 +00:00
parent 891106bcc9
commit 7c9cc31d75
20 changed files with 137 additions and 97 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ import {
import {
createWatchedCases,
getSASToken,
getToken,
getWatchedCasesProxy,
getPortalModuleDetailsProxy,
deleteWatchedCases,
@@ -77,7 +77,7 @@ const SearchResults = (props) => {
const cookies = parseCookies();
const selectWatchedCase = (loggedInUser, incidentID, appealType) => {
let token = getSASToken();
let token = getToken();
let updateBody = {
"pinswg_WatchedCase@odata.bind": "/incidents(" + incidentID + ")",
@@ -109,7 +109,7 @@ const SearchResults = (props) => {
};
const deleteItem = (caseID, topThreeType) => {
let token = getSASToken();
let token = getToken();
let cookies = parseCookies();
topThreeType == "watchedCases" &&
deleteWatchedCases(caseID)