fix mark all read

This commit is contained in:
Felix Ableitner 2024-11-29 12:39:33 +01:00
parent 4927880b23
commit 55ded8449d

View file

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