diff --git a/src/api/serializers/post.ts b/src/api/serializers/post.ts index 3023837890..1805b70aec 100644 --- a/src/api/serializers/post.ts +++ b/src/api/serializers/post.ts @@ -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 });