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

appAPI.js - add getRegistryFilters method

parent 2169e252
...@@ -510,6 +510,15 @@ this.appAPI = { ...@@ -510,6 +510,15 @@ this.appAPI = {
}); });
}, },
getRegistryFilters: async function(registryCode) {
return new Promise(async resolve => {
rest.synergyGet(`api/registry/filters?registryCode=${registryCode}&locale=${AS.OPTIONS.locale}&type=service`, resolve, err => {
console.log(`ERROR [ getRegistryFilters ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
mergeFormData: async function(data) { mergeFormData: async function(data) {
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