diff options
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/routes/jobs.js | 6 | ||||
| -rw-r--r-- | src/api/routes/tasks.js | 5 |
2 files changed, 1 insertions, 10 deletions
diff --git a/src/api/routes/jobs.js b/src/api/routes/jobs.js index 90947a51..e96c12ba 100644 --- a/src/api/routes/jobs.js +++ b/src/api/routes/jobs.js @@ -1,8 +1,4 @@ -import {getAll, getById} from "./util"; - -export function getAllJobs() { - return getAll("/jobs"); -} +import {getById} from "./util"; export function getTasksOfJob(jobId) { return getById("/jobs/{jobId}/tasks", {jobId}); diff --git a/src/api/routes/tasks.js b/src/api/routes/tasks.js deleted file mode 100644 index 69736af8..00000000 --- a/src/api/routes/tasks.js +++ /dev/null @@ -1,5 +0,0 @@ -import {getAll} from "./util"; - -export function getAllTasks() { - return getAll("/tasks"); -} |
