MarkCommentReplyAsRead response was wrong. (#125)

This commit is contained in:
Dessalines 2023-05-26 16:11:33 -04:00 committed by GitHub
parent 79df2a5ca8
commit 882b511372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ import { BlockCommunityResponse } from "./types/BlockCommunityResponse";
import { BlockPerson } from "./types/BlockPerson"; import { BlockPerson } from "./types/BlockPerson";
import { BlockPersonResponse } from "./types/BlockPersonResponse"; import { BlockPersonResponse } from "./types/BlockPersonResponse";
import { ChangePassword } from "./types/ChangePassword"; import { ChangePassword } from "./types/ChangePassword";
import { CommentReplyResponse } from "./types/CommentReplyResponse";
import { CommentReportResponse } from "./types/CommentReportResponse"; import { CommentReportResponse } from "./types/CommentReportResponse";
import { CommentResponse } from "./types/CommentResponse"; import { CommentResponse } from "./types/CommentResponse";
import { CommunityResponse } from "./types/CommunityResponse"; import { CommunityResponse } from "./types/CommunityResponse";
@ -626,7 +627,7 @@ export class LemmyHttp {
* `HTTP.POST /comment/mark_as_read` * `HTTP.POST /comment/mark_as_read`
*/ */
markCommentReplyAsRead(form: MarkCommentReplyAsRead) { markCommentReplyAsRead(form: MarkCommentReplyAsRead) {
return this.wrapper<MarkCommentReplyAsRead, CommentResponse>( return this.wrapper<MarkCommentReplyAsRead, CommentReplyResponse>(
HttpType.Post, HttpType.Post,
"/comment/mark_as_read", "/comment/mark_as_read",
form form