mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-26 14:21: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`
|
* `HTTP.POST /post/mark_as_read`
|
||||||
*/
|
*/
|
||||||
markPostAsRead(form: MarkPostAsRead) {
|
markPostAsRead(form: MarkPostAsRead) {
|
||||||
return this.#wrapper<MarkPostAsRead, PostResponse>(
|
return this.#wrapper<MarkPostAsRead, SuccessResponse>(
|
||||||
HttpType.Post,
|
HttpType.Post,
|
||||||
"/post/mark_as_read",
|
"/post/mark_as_read",
|
||||||
form,
|
form,
|
||||||
|
|
Loading…
Reference in a new issue