Merge pull request #10 from shilangyu/patch-1

Fix markAllAsRead response type
This commit is contained in:
Dessalines 2021-03-22 10:43:32 -04:00 committed by GitHub
commit ce39cec653
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);
}