RemoveCommentLike
Removed a like from a comment. The results of this mutation can be affected by providing an authToken header to set a user for the operation.
RemoveCommentLike(
commentId: ID!
likeId: ID!
): Boolean!
Directives
authAccess
This requires the current user to be in
STUDENT
role.
Arguments
RemoveCommentLike.commentId
● ID!
non-null scalar
The ID of the comment.
RemoveCommentLike.likeId
● ID!
non-null scalar
The ID of the like.
Type
Boolean
scalar
The
Boolean
scalar type representstrue
orfalse
.
Examples
Query:
RemoveCommentLike(
$commentId: ID!,
$likeId: ID!
) {
RemoveCommentLike(
commentId: $commentId,
likeId: $likeId
)
}
Variables:
{
"commentId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41",
"likeId": "0e99a117-e3b6-40a6-867c-6b3bbc166b41"
}
Response:
{
"data": {
"RemoveCommentLike": true
}
}