creating conversation sort of working but not fully

This commit is contained in:
talksik
2022-06-11 09:12:02 -05:00
parent 4225a5a029
commit 3342654431
4 changed files with 33 additions and 20 deletions
@@ -1,6 +1,7 @@
import Conversation from '@nirvana/core/models/conversation.model';
import { ObjectId } from 'mongodb';
import User from '../models/user.model';
export default class CreateConversationRequest {
constructor(public otherMemberIds: ObjectId[], public conversationName?: string) {}
constructor(public otherUsers: User[], public conversationName?: string) {}
}