From 1cb583b05688d45cc25f9968862acfb8a5bd6d86 Mon Sep 17 00:00:00 2001 From: Hamsini Malli Date: Wed, 27 Sep 2023 16:09:14 -0400 Subject: [PATCH] revert changes to ajax.js --- src/libs/ajax.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libs/ajax.js b/src/libs/ajax.js index 3d88b5807..0d1d4a92e 100644 --- a/src/libs/ajax.js +++ b/src/libs/ajax.js @@ -626,12 +626,6 @@ export const User = { return res.json(); }, - // getSOsForGivenUser: async (userId) => { - // const url = `${await getApiUrl()}/api/user/signing-officials/${userId}`; - // const res = await fetchOk(url, fp.mergeAll([Config.authOpts(), { method: 'GET' }])); - // return res.json(); - // }, - getUnassignedUsers: async () => { const url = `${await getApiUrl()}/api/user/institution/unassigned`; const res = await axios.get(url, Config.authOpts());