summaryrefslogtreecommitdiff
path: root/services/events/event.service.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/events/event.service.js')
-rw-r--r--services/events/event.service.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/services/events/event.service.js b/services/events/event.service.js
index e9e7e50..e96ceda 100644
--- a/services/events/event.service.js
+++ b/services/events/event.service.js
@@ -1,7 +1,8 @@
-const service = require('feathers-mongoose');
-const Model = require('./event.model.js');
+class Events {
+ async create(data, params) {
+ return data;
+ };
+}
-const EventService = service({ Model })
-
-module.exports = app => app.use('/events', EventService);
+module.exports = app => app.use('/events', new Events());