Skip to content

Commit bb86640

Browse files
committed
Remove endpoint for managed/demo
1 parent 920ea61 commit bb86640

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

util/data-fetch.ts

-9
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@ import { FetchType, jsonFetchWrapper } from "@/submodules/javascript-functions/b
33
const BACKEND_BASE_URI = '/refinery-gateway';
44
export const organizationEndpoint = `${BACKEND_BASE_URI}/api/v1/organization`;
55

6-
export function getIsManaged(onResult: (result: any) => void) {
7-
const url = `/is_managed`;
8-
jsonFetchWrapper(url, FetchType.GET, onResult);
9-
}
10-
11-
export function getIsDemo(onResult: (result: any) => void) {
12-
const url = `/is_demo`;
13-
jsonFetchWrapper(url, FetchType.GET, onResult);
14-
}
156

167
export function getUserInfoExtended(onResult: (result: any) => void) {
178
const finalUrl = `${organizationEndpoint}/get-user-info-extended`;

0 commit comments

Comments
 (0)