Fix markAllAsRead response type

As per 4b92e35edc/crates/api/src/local_user.rs (L902)
This commit is contained in:
Marcin Wojnarowski 2021-03-21 20:51:40 +01:00 committed by GitHub
parent e61cb5d7ba
commit 0456ad6a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}