debug->info

This commit is contained in:
Vitaliy Vlasov 2018-05-22 19:01:55 +03:00
parent fd4ec05107
commit 9cf623b74a
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 2 additions and 2 deletions

View File

@ -223,13 +223,13 @@
:auth-rules authenticated?
:current-user user
(do
(log/debug "/bounty/X/payout" params)
(log/info "/bounty/X/payout" params)
(let [{issue :issue
payout-hash :payout-hash} params
result (bounties-db/update-payout-hash
(Integer/parseInt issue)
payout-hash)]
(log/debug "result" result)
(log/info "result" result)
(if (= 1 result)
(ok)
(internal-server-error)))))