1
0
mirror of https://github.com/pierre42100/ComunicAPI synced 2025-07-14 22:08:11 +00:00

Can update the like of group.

This commit is contained in:
Pierre HUBERT
2018-07-17 10:25:34 +02:00
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 !");