Commit e65f5f15 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

appAPI - добавлен метод getSubworks

parent 77fa97f3
......@@ -10,6 +10,15 @@ this.appAPI = {
});
},
getSubworks: async function(workID){
return new Promise(async resolve => {
rest.synergyGet(`api/workflow/subworks/${workID}`, resolve, err => {
console.log(`ERROR [ getSubworks ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
getCompletionForm: async function(completionFormID){
return new Promise(async resolve => {
rest.synergyGet(`api/formPlayer/getCompletionForm?completionFormID=${completionFormID}`,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment