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

View File

@ -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);
}
}