mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Can update the like of group.
This commit is contained in:
		@@ -68,6 +68,13 @@ class LikesController {
 | 
			
		||||
				break;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
			//In case of group
 | 
			
		||||
			case "group":
 | 
			
		||||
				$id = getPostGroupIdWithAccess("id", GroupInfo::VIEW_ACCESS);
 | 
			
		||||
				$componentType = Likes::LIKE_GROUP;
 | 
			
		||||
				break;
 | 
			
		||||
				
 | 
			
		||||
 | 
			
		||||
			//Default case : error
 | 
			
		||||
			default:
 | 
			
		||||
				Rest_fatal_error(404, "Specifed component type currently not supported !");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user