Simplify QR image get handler
This commit is contained in:
parent
331b227f5e
commit
366b0f6a7a
|
@ -23,8 +23,7 @@
|
||||||
(log/debug "address:" address)
|
(log/debug "address:" address)
|
||||||
(log/debug owner repo issue balance)
|
(log/debug owner repo issue balance)
|
||||||
(log/debug hash (github/github-comment-hash owner repo issue balance))
|
(log/debug hash (github/github-comment-hash owner repo issue balance))
|
||||||
(if (and address
|
(if address
|
||||||
(= hash (github/github-comment-hash owner repo issue balance)))
|
|
||||||
(if-let [{png-data :png_data}
|
(if-let [{png-data :png_data}
|
||||||
(comment-images/get-image-data
|
(comment-images/get-image-data
|
||||||
issue-id hash)]
|
issue-id hash)]
|
||||||
|
|
Loading…
Reference in New Issue