mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-09-20 14:29:00 +00:00
Implemented comments like update status.
This commit is contained in:
@@ -54,6 +54,17 @@ class likesController {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//In case of comments
|
||||||
|
case "comment":
|
||||||
|
|
||||||
|
//Extract informations
|
||||||
|
$id = getPostCommentIDWithAccess("id");
|
||||||
|
$componentType = Likes::LIKE_COMMENT;
|
||||||
|
|
||||||
|
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 !");
|
||||||
|
Reference in New Issue
Block a user