aboutsummaryrefslogtreecommitdiff
path: root/src/clj/queue_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/clj/queue_api')
-rw-r--r--src/clj/queue_api/routes/services.clj4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/clj/queue_api/routes/services.clj b/src/clj/queue_api/routes/services.clj
index dee949a..0b26281 100644
--- a/src/clj/queue_api/routes/services.clj
+++ b/src/clj/queue_api/routes/services.clj
@@ -47,10 +47,8 @@
(let [j (db/dequeue-job agent_id)]
(if (nil? j)
(bad-request {:message "Agent does not exist"})
- (ok {:job_request {:job_id j :agent_id agent_id}})))))
+ (ok {:job_request {:job_id j :agent_id agent_id}}))))
- (context "/queue" []
- :tags ["queue"]
(GET "/" []
:return {:completed [String]
:processing [String]