improve: update commentvote
This commit is contained in:
1 parent
ee9dbf1071
commit
d3168c1d1d
6 files changed
+82
-120
No files matched your search
@@ -143,12 +143,11 @@ export async function markAsRead(
|
||||
if (isSubmission(item)) item = contentItem(item)
|
||||
|
||||
if (item.type == 'post') {
|
||||
return (
|
||||
await getClient().markPostAsRead({
|
||||
post_id: item.id,
|
||||
read: read,
|
||||
})
|
||||
).post_view.read
|
||||
getClient().markPostAsRead({
|
||||
post_id: item.id,
|
||||
read: read,
|
||||
})
|
||||
return read
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user