diff options
Diffstat (limited to 'src/services/events/models.js')
-rw-r--r-- | src/services/events/models.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/services/events/models.js b/src/services/events/models.js new file mode 100644 index 0000000..72b10d7 --- /dev/null +++ b/src/services/events/models.js @@ -0,0 +1,7 @@ +const mongoose = require('mongoose'); +const { Client } = require('mongo-cronjob'); + +const client = new Client(mongoose.connection); + +module.exports = client; + |