From fc432d64c167dc2e6a17ae650e5fa8e772c4fbe8 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Tue, 20 Feb 2018 22:29:01 -0300 Subject: README --- src/clj/queue_api/routes/services.clj | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/clj/queue_api') 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] -- cgit v1.2.3