Commit 1ad54039 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

update appAPI (getAsfDefinition)

parent 354c9b0c
......@@ -842,6 +842,15 @@ this.appAPI = {
});
},
getAsfDefinition: async function(formID){
return new Promise(async resolve => {
rest.synergyGet(`api/asforms/form_ext?formID=${formID}`, resolve, err => {
console.log(`ERROR [ getAsfDefinition ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
delegated: {
get: async function() {
return new Promise(async resolve => {
......
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