mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-05 02:31: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.
|
* Mark all replies as read.
|
||||||
*
|
*
|
||||||
* `HTTP.POST /user/mark_all_as_read`
|
* `HTTP.POST /account/mention/mark_all_as_read`
|
||||||
*/
|
*/
|
||||||
markAllAsRead(options?: RequestOptions) {
|
markAllAsRead(options?: RequestOptions) {
|
||||||
return this.#wrapper<object, GetRepliesResponse>(
|
return this.#wrapper<object, GetRepliesResponse>(
|
||||||
HttpType.Post,
|
HttpType.Post,
|
||||||
"/user/mark_all_as_read",
|
"/account/mention/mark_all_as_read",
|
||||||
{},
|
{},
|
||||||
options,
|
options,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue