function getCommentLikers
getCommentLikers(
commentId: string,
page: number,
limit: number
): Page<User>

Returns a page of the users who like a comment, latest like first, for GET /api/comments/:commentId/likers. It doesn't check that the caller may see the comment: the route does that first, with getDump.

Parameters

commentId: string
page: number
limit: number

Return Type

Throws

APIException

500 when a row doesn't parse as a user.

Usage

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