function getUserCommentLikes
getUserCommentLikes(userId: string): string[]

Returns the ids of the comments userId likes. The WebSocket route sends them in its welcome message, and the client shows those like buttons pressed.

Parameters

userId: string

Return Type

string[]

Usage

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