summaryrefslogtreecommitdiff
path: root/src/services/logs/log.service.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/logs/log.service.js')
-rw-r--r--src/services/logs/log.service.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/services/logs/log.service.js b/src/services/logs/log.service.js
new file mode 100644
index 0000000..899ec86
--- /dev/null
+++ b/src/services/logs/log.service.js
@@ -0,0 +1,9 @@
+const service = require('feathers-mongoose');
+const Model = require('./log.model.js');
+
+const LogService = service({ Model });
+
+module.exports = app => {
+ app.use('/logs', LogService);
+};
+