mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 11:33:08 +02:00
[API] Fix bug
This commit is contained in:
parent
19b721f92a
commit
811b7c6133
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue