Skip to content

Commit eea61c7

Browse files
authored
Removed useless function (#23)
1 parent 0a2ab0e commit eea61c7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/diruntimeclient.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,3 @@ export function getDecisionServiceOpenAPI(apikey:string, baseURL:string, decisio
9898
return response.data;
9999
});
100100
}
101-
102-
export function getDecisionOperationJsonSchema(apikey:string, baseURL:string, decisionId:string, operation:string) {
103-
var url = baseURL + "/deploymentSpaces/development/decisions/"
104-
+ encodeURIComponent(decisionId)
105-
+ "/operations/"
106-
+ encodeURIComponent(operation)
107-
+ "/schemas?format=JSON_SCHEMA";
108-
109-
var headers = {
110-
"accept": "application/json",
111-
"apikey": apikey
112-
};
113-
114-
return axios.get(url, { headers: headers })
115-
.then(function (response) {
116-
return JSON.stringify(response.data);
117-
});
118-
}

0 commit comments

Comments
 (0)