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