mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 20:31:12 +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