From 0456ad6a1ccad5d4d61c1964f809d6a988903d70 Mon Sep 17 00:00:00 2001 From: Marcin Wojnarowski Date: Sun, 21 Mar 2021 20:51:40 +0100 Subject: [PATCH] Fix markAllAsRead response type As per https://github.com/LemmyNet/lemmy/blob/4b92e35edc16af87c858d5ce386014e09e2714e6/crates/api/src/local_user.rs#L902 --- src/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.ts b/src/http.ts index 0efc481..ede0883 100644 --- a/src/http.ts +++ b/src/http.ts @@ -351,7 +351,7 @@ export class LemmyHttp { return this.wrapper(HttpType.Post, '/user/password_change', form); } - async markAllAsRead(form: MarkAllAsRead): Promise { + async markAllAsRead(form: MarkAllAsRead): Promise { return this.wrapper(HttpType.Post, '/user/mark_all_as_read', form); }