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

appAPI add createDocRegistryID

parent ef570214
...@@ -607,6 +607,15 @@ this.appAPI = { ...@@ -607,6 +607,15 @@ this.appAPI = {
}); });
}, },
createDocRegistryID: async function(registryID) {
return new Promise(resolve => {
rest.synergyGet(`api/registry/create_doc?registryID=${registryID}`, resolve, err => {
console.log(`ERROR [ createDocRegistryID ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
createDocRCC: async function(registryCode, asfData, sendToActivation = false) { createDocRCC: async function(registryCode, asfData, sendToActivation = false) {
return new Promise(async resolve => { return new Promise(async resolve => {
try { try {
......
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