mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 04:58:59 +00:00
Can update the like of group.
This commit is contained in:
parent
9f52240a5c
commit
46730f2b97
@ -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 !");
|
||||
|
Loading…
Reference in New Issue
Block a user