summaryrefslogtreecommitdiff
path: root/src/services/events/models.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/events/models.js')
-rw-r--r--src/services/events/models.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/services/events/models.js b/src/services/events/models.js
index 99dada1..72b10d7 100644
--- a/src/services/events/models.js
+++ b/src/services/events/models.js
@@ -1,16 +1,7 @@
const mongoose = require('mongoose');
const { Client } = require('mongo-cronjob');
-const { getConnection } = require('../../connectDb.js');
-
-const contextSchema = new mongoose.Schema({
- participants: [String],
- attendanceId: String,
- conferenceId: String
-});
-
-const connection = mongoose.connection;
-const client = new Client(connection, contextSchema);
+const client = new Client(mongoose.connection);
module.exports = client;