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

View File

@ -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 !");