fixing bug with checking one on ones
This commit is contained in:
@@ -48,6 +48,7 @@ export default class ConversationService {
|
||||
static async getConversationBetweenTwoPeople(userAId: ObjectId, userBId: ObjectId) {
|
||||
const query = {
|
||||
$and: [
|
||||
{ members: { $size: 2 } },
|
||||
{
|
||||
'members._id': userAId,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user