fixing bug with checking one on ones

This commit is contained in:
talksik
2022-06-19 14:40:09 -05:00
parent a7bbf1f6e9
commit 1e3a45f5c1
@@ -48,6 +48,7 @@ export default class ConversationService {
static async getConversationBetweenTwoPeople(userAId: ObjectId, userBId: ObjectId) {
const query = {
$and: [
{ members: { $size: 2 } },
{
'members._id': userAId,
},