Commit 42ded021 authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

update appAPI

parent b9b05b3e
......@@ -851,6 +851,24 @@ this.appAPI = {
});
},
getDocumentsFilters: async function(params) {
return new Promise(async resolve => {
rest.synergyGet(`api/docflow/doc/documents_filters?locale=${AS.OPTIONS.locale}${params ? '&'+params : ''}`, resolve, err => {
console.log(`ERROR [ getDocumentsFilters ]: ${JSON.stringify(err)}`);
resolve(null);
});
});
},
getFavoriteDocFilters: async function() {
return new Promise(async resolve => {
rest.synergyGet(`api/docflow/doc/favorite_doc_filters?locale=${AS.OPTIONS.locale}`, resolve, err => {
console.log(`ERROR [ getFavoriteDocFilters ]: ${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