dce-reactkit 4.2.0-beta-select-admin-check.1 → 4.2.0-beta-select-admin-check.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,5 +2,5 @@
2
2
  * Route for checking if the current user is a select admin
3
3
  * @author Gabe Abrams
4
4
  */
5
- declare const SELECT_ADMIN_CHECK_ROUTE: string;
5
+ declare const SELECT_ADMIN_CHECK_ROUTE = "/api/admin/select/is-select-admin";
6
6
  export default SELECT_ADMIN_CHECK_ROUTE;
package/dist/index.d.ts CHANGED
@@ -826,7 +826,7 @@ declare const LOG_REVIEW_GET_LOGS_ROUTE: string;
826
826
  * Route for checking if the current user is a select admin
827
827
  * @author Gabe Abrams
828
828
  */
829
- declare const SELECT_ADMIN_CHECK_ROUTE: string;
829
+ declare const SELECT_ADMIN_CHECK_ROUTE = "/api/admin/select/is-select-admin";
830
830
 
831
831
  /**
832
832
  * Dynamic words determined by the user's platform
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "4.2.0-beta-select-admin-check.1",
3
+ "version": "4.2.0-beta-select-admin-check.2",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,9 +1,7 @@
1
- import ROUTE_PATH_PREFIX from './ROUTE_PATH_PREFIX';
2
-
3
1
  /**
4
2
  * Route for checking if the current user is a select admin
5
3
  * @author Gabe Abrams
6
4
  */
7
- const SELECT_ADMIN_CHECK_ROUTE = `${ROUTE_PATH_PREFIX}/select-admin/is-select-admin`;
5
+ const SELECT_ADMIN_CHECK_ROUTE = '/api/admin/select/is-select-admin';
8
6
 
9
7
  export default SELECT_ADMIN_CHECK_ROUTE;