mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-04 18:21:12 +00:00
fix mark all read
This commit is contained in:
parent
4927880b23
commit
55ded8449d
1 changed files with 2 additions and 2 deletions
|
@ -1423,12 +1423,12 @@ export class LemmyHttp {
|
|||
/**
|
||||
* Mark all replies as read.
|
||||
*
|
||||
* `HTTP.POST /user/mark_all_as_read`
|
||||
* `HTTP.POST /account/mention/mark_all_as_read`
|
||||
*/
|
||||
markAllAsRead(options?: RequestOptions) {
|
||||
return this.#wrapper<object, GetRepliesResponse>(
|
||||
HttpType.Post,
|
||||
"/user/mark_all_as_read",
|
||||
"/account/mention/mark_all_as_read",
|
||||
{},
|
||||
options,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue