aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/api/scheduled-scans/server/methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/imports/api/scheduled-scans/server/methods.js')
-rw-r--r--ui/imports/api/scheduled-scans/server/methods.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/imports/api/scheduled-scans/server/methods.js b/ui/imports/api/scheduled-scans/server/methods.js
deleted file mode 100644
index 4a6c508..0000000
--- a/ui/imports/api/scheduled-scans/server/methods.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import { check } from 'meteor/check';
-import * as R from 'ramda';
-import { ScheduledScans } from '../scheduled-scans';
-
-Meteor.methods({
- 'scheduledScansFind?env': function (env) {
- console.log('method server: scheduledScansFind?env', R.toString(env));
-
- check(env, String);
- this.unblock();
-
- let query = { environment: env };
- let scheduledScan = ScheduledScans.findOne(query, {});
-
- return {
- item: scheduledScan
- };
- }
-});