mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
Fix markAllAsRead response type
As per 4b92e35edc/crates/api/src/local_user.rs (L902)
This commit is contained in:
parent
e61cb5d7ba
commit
0456ad6a1c
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