function removeCommentLike
removeCommentLike(
commentId: string,
userId: string
): LikeResult

Takes back userId's like on a comment. It doesn't check that the user can still see the comment, since a like on a dump that has gone private is still theirs to take back.

Parameters

commentId: string
userId: string

Return Type

Throws

APIException

404 when the user doesn't like the comment.

Usage

import { removeCommentLike } from "api/services/comment-like-service.ts";