From e6d7810b3741fc2d67f0626b90dc8f48da3a8e6b Mon Sep 17 00:00:00 2001 From: Alexander Harding Date: Thu, 18 Sep 2025 21:30:07 -0500 Subject: [PATCH] fix(piefed): mark comment mention as read --- src/providers/piefed/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/providers/piefed/index.ts b/src/providers/piefed/index.ts index 16fe31f..ba995c9 100644 --- a/src/providers/piefed/index.ts +++ b/src/providers/piefed/index.ts @@ -726,10 +726,12 @@ export class UnsafePiefedClient implements BaseClient { payload: Parameters[0], options?: RequestOptions, ): ReturnType { - // @ts-expect-error TODO fix piefed api docs - await this.#client.POST("/mention/mark_as_read", { + await this.#client.POST("/comment/mark_as_read", { ...options, - body: payload, + body: { + comment_reply_id: payload.person_mention_id, + read: payload.read, + }, }); }