mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Fix MarkPostAsRead, wrong response (#203)
This commit is contained in:
parent
399c3987b6
commit
a616cf017d
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ export class LemmyHttp {
|
|||
* `HTTP.POST /post/mark_as_read`
|
||||
*/
|
||||
markPostAsRead(form: MarkPostAsRead) {
|
||||
return this.#wrapper<MarkPostAsRead, PostResponse>(
|
||||
return this.#wrapper<MarkPostAsRead, SuccessResponse>(
|
||||
HttpType.Post,
|
||||
"/post/mark_as_read",
|
||||
form,
|
||||
|
|
Loading…
Reference in a new issue