mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-30 00:01:14 +00:00
MarkCommentReplyAsRead response was wrong.
This commit is contained in:
parent
79df2a5ca8
commit
5d139d1638
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue