Skip to content
Snippets Groups Projects
Commit 40ea7415 authored by Devin Alvaro's avatar Devin Alvaro
Browse files

Add ChatData to module.exports

parent 1a51e32f
Branches
No related merge requests found
...@@ -28,6 +28,7 @@ class ChatData { ...@@ -28,6 +28,7 @@ class ChatData {
if (err) { if (err) {
console.error(err) console.error(err)
} }
if (!done) { if (!done) {
var chat = new this.ChatModel({ var chat = new this.ChatModel({
participant_ids: participantIds, participant_ids: participantIds,
...@@ -61,3 +62,5 @@ class ChatData { ...@@ -61,3 +62,5 @@ class ChatData {
}) })
} }
} }
module.exports = ChatData
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment