diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2018-02-20 22:29:01 -0300 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2018-02-20 22:29:01 -0300 |
commit | fc432d64c167dc2e6a17ae650e5fa8e772c4fbe8 (patch) | |
tree | b6d38d7cc3d51bacb2dc7d1a404177f3b8eaadaa /src/clj/queue_api | |
parent | fd953613e3259c63f54d49e042e16e50d47dd8fa (diff) | |
download | queue-api-fc432d64c167dc2e6a17ae650e5fa8e772c4fbe8.tar.gz queue-api-fc432d64c167dc2e6a17ae650e5fa8e772c4fbe8.tar.bz2 queue-api-fc432d64c167dc2e6a17ae650e5fa8e772c4fbe8.zip |
README
Diffstat (limited to 'src/clj/queue_api')
-rw-r--r-- | src/clj/queue_api/routes/services.clj | 4 |
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] |