Perform a request over the server to get account settings

This commit is contained in:
Pierre
2018-04-16 16:15:48 +02:00
parent 3f4b2ea290
commit b932a12faa
2 changed files with 28 additions and 1 deletions

View File

@ -6,6 +6,18 @@
ComunicWeb.components.settings.interface = {
/**
* Get general account settings
*
* @param {function} callback
*/
getGeneral: function(callback){
//Make a request over the API
var apiURI = "/settings/get_general/";
var params = {};
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
},
}