1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00

[API] Fix bug

This commit is contained in:
syuilo⭐️ 2017-01-26 20:45:07 +09:00 committed by GitHub
parent 19b721f92a
commit 811b7c6133

View File

@ -89,7 +89,8 @@ const self = (
const liked = await Like
.count({
user_id: me._id,
post_id: id
post_id: id,
deleted_at: { $exists: false }
}, {
limit: 1
});