mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Get account image settings from the server
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user