summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/api/routes/schedulers.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/api/routes/schedulers.js')
-rw-r--r--opendc-web/opendc-web-ui/src/api/routes/schedulers.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/src/api/routes/schedulers.js b/opendc-web/opendc-web-ui/src/api/routes/schedulers.js
new file mode 100644
index 00000000..4481fb2a
--- /dev/null
+++ b/opendc-web/opendc-web-ui/src/api/routes/schedulers.js
@@ -0,0 +1,5 @@
+import { getAll } from './util'
+
+export function getAllSchedulers() {
+ return getAll('/schedulers')
+}