mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Merge pull request #10 from shilangyu/patch-1
Fix markAllAsRead response type
This commit is contained in:
commit
ce39cec653
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ export class LemmyHttp {
|
|||
return this.wrapper(HttpType.Post, '/user/password_change', form);
|
||||
}
|
||||
|
||||
async markAllAsRead(form: MarkAllAsRead): Promise<LoginResponse> {
|
||||
async markAllAsRead(form: MarkAllAsRead): Promise<GetRepliesResponse> {
|
||||
return this.wrapper(HttpType.Post, '/user/mark_all_as_read', form);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue