summaryrefslogtreecommitdiff
path: root/src/services/events/event.service.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/events/event.service.js')
-rw-r--r--src/services/events/event.service.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/services/events/event.service.js b/src/services/events/event.service.js
index 112990a..5391443 100644
--- a/src/services/events/event.service.js
+++ b/src/services/events/event.service.js
@@ -27,9 +27,13 @@ class Events {
return this.agenda.start();
};
- async create(data, params) {
+ create(data, params) {
return this.agenda.schedule(data.date, 'attend class', data);
};
+
+ find(params) {
+ return this.agenda.jobs();
+ }
}