1
0
mirror of https://github.com/pierre42100/ComunicWeb synced 2025-07-08 12:22:49 +00:00

Start to update group settings page

This commit is contained in:
2021-03-15 18:54:34 +01:00
parent d4865846a7
commit d8bce9fc57
6 changed files with 41 additions and 98 deletions
assets
css
pages
groups
js
components
pages
typings
templates
pages
groups

@ -98,15 +98,10 @@ const GroupsInterface = {
* Get the settings of a group
*
* @param {Number} id The ID of the target group
* @param {Function} callback
* @return {Promise<GroupSettings>}
*/
getSettings: function(id, callback){
//Perform the request over the API
var apiURI = "groups/get_settings";
var params = {
id: id
};
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
getSettings: async function(id){
return await api("groups/get_settings", {id: id}, true);
},
/**