mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
[API] Fix bug
This commit is contained in:
parent
6b8a23f3e7
commit
c1d2f77d20
@ -89,7 +89,8 @@ const self = (
|
|||||||
const liked = await Like
|
const liked = await Like
|
||||||
.count({
|
.count({
|
||||||
user_id: me._id,
|
user_id: me._id,
|
||||||
post_id: id
|
post_id: id,
|
||||||
|
deleted_at: { $exists: false }
|
||||||
}, {
|
}, {
|
||||||
limit: 1
|
limit: 1
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user