aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2018-02-20 00:23:55 -0300
committerGabriel A. Giovanini <mail@gabrielgio.me>2018-02-20 00:23:55 -0300
commitc3fadc2baa620fb949944c1876a65c72e17fcb09 (patch)
tree70b89abc296cf52e0d6f071fa4341c03478355e2
parent71eb6b34ce80cc91ab1e713f2c5b32076c3ee940 (diff)
downloadqueue-api-c3fadc2baa620fb949944c1876a65c72e17fcb09.tar.gz
queue-api-c3fadc2baa620fb949944c1876a65c72e17fcb09.tar.bz2
queue-api-c3fadc2baa620fb949944c1876a65c72e17fcb09.zip
😐
-rw-r--r--src/clj/queue_api/db/core.clj3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clj/queue_api/db/core.clj b/src/clj/queue_api/db/core.clj
index e0eb491..0381e1e 100644
--- a/src/clj/queue_api/db/core.clj
+++ b/src/clj/queue_api/db/core.clj
@@ -112,9 +112,8 @@
p
(q-skillset (:agent/secondary-skillset a)))))))
-(defn
+(defn t-job
"Transact status `s` and agent `a` of a job `id`"
- t-job
([^String id ^Keyword s]
(d/transact! conn [{:job/id id
:job/status s}]))