mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-28 02:05:27 +00:00
add issue-url fn to bounty model helpers
This commit is contained in:
parent
e7c8a986d7
commit
77eec6fe3f
@ -23,6 +23,11 @@
|
||||
(defn confirming? [bounty]
|
||||
(:confirming? bounty))
|
||||
|
||||
(defn issue-url
|
||||
[bounty]
|
||||
{:pre [(:repo-owner bounty) (:repo-name bounty) (:issue-number bounty)]}
|
||||
(str "https://github.com/" (:repo-owner bounty) "/" (:repo-name bounty) "/issues/" (:issue-number bounty)))
|
||||
|
||||
(defn crypto-balances [bounty]
|
||||
;; TODO add some assertions
|
||||
(cond-> (:tokens bounty)
|
||||
|
Loading…
x
Reference in New Issue
Block a user