diff options
Diffstat (limited to 'src/clj/queue_api/routes/services.clj')
-rw-r--r-- | src/clj/queue_api/routes/services.clj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clj/queue_api/routes/services.clj b/src/clj/queue_api/routes/services.clj index e8f03f9..694f0d8 100644 --- a/src/clj/queue_api/routes/services.clj +++ b/src/clj/queue_api/routes/services.clj @@ -44,13 +44,13 @@ (let [j (db/dequeue-job agent_id)] (if (nil? j) (bad-request {:message "Agent does not exist"}) - (ok j))))) + (ok {:job_request j}))))) (context "/queue" [] :tags ["queue"] (GET "/" [] - :return {:completed [String] - :processing[String] + :return {:completed [String] + :processing [String] :unassigned [String]} :summary "Get a summary of the queue" (ok (db/sum-queue))))) |