Fix MarkPostAsRead, wrong response (#203)

This commit is contained in:
Maarten Vercruysse 2023-10-21 00:00:59 +02:00 committed by GitHub
parent 399c3987b6
commit a616cf017d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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