diff options
Diffstat (limited to 'src/services/events/log.service.js')
-rw-r--r-- | src/services/events/log.service.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/services/events/log.service.js b/src/services/events/log.service.js new file mode 100644 index 0000000..62d96a9 --- /dev/null +++ b/src/services/events/log.service.js @@ -0,0 +1,9 @@ +const service = require('feathers-mongoose'); +const Model = require('./models.js').Log; + +const LogService = service({ Model }); + +module.exports = app => { + app.use('/logs', LogService); +}; + |