1 import { editListImmutable } from "@utils/helpers";
2 import { CommentReportView } from "lemmy-js-client";
4 export default function editCommentReport(
5 data: CommentReportView,
6 reports: CommentReportView[]
7 ): CommentReportView[] {
8 return editListImmutable("comment_report", data, reports);