get-issue-by-contract-address is no longer needed
This commit is contained in:
parent
13fcf1799f
commit
3763fa136a
|
@ -449,12 +449,6 @@ FROM issues
|
|||
WHERE repo_id = :repo_id
|
||||
AND issue_number = :issue_number;
|
||||
|
||||
-- :name get-issue-by-contract-address :? :1
|
||||
-- :doc get issue from DB by contract_address
|
||||
SELECT issue_id, contract_address, transaction_hash
|
||||
FROM issues
|
||||
WHERE contract_address = :contract_address;
|
||||
|
||||
-- :name get-issue-by-id :? :1
|
||||
-- :doc get issue from DB by issue-id
|
||||
SELECT
|
||||
|
|
|
@ -110,11 +110,6 @@
|
|||
(db/get-issue con-db {:repo_id repo-id
|
||||
:issue_number issue-number})))
|
||||
|
||||
(defn get-issue-by-contract-address
|
||||
[contract-address]
|
||||
(jdbc/with-db-connection [con-db *db*]
|
||||
(db/get-issue-by-contract-address con-db {:contract_address contract-address})))
|
||||
|
||||
(defn get-issue-by-id
|
||||
[issue-id]
|
||||
(jdbc/with-db-connection [con-db *db*]
|
||||
|
|
Loading…
Reference in New Issue