mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Start to update group settings page
This commit is contained in:
		@@ -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);
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user