1
0
mirror of https://github.com/pierre42100/ComunicWeb synced 2025-07-14 23:18:08 +00:00

Get account image settings from the server

This commit is contained in:
Pierre
2018-04-29 15:13:51 +02:00
parent 159108b08b
commit 8367a76906
9 changed files with 134 additions and 1 deletions
assets
system/config

@ -85,4 +85,15 @@ ComunicWeb.components.settings.interface = {
};
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
},
/**
* Get account image settings from the API
*
* @param {function} callback
*/
getAccountImage: function(callback){
var apiURI = "settings/get_account_image";
var params = {};
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
}
}