create conversation should work with frontend objectIds

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