mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-17 04:50:56 +00:00
update-repo-state should call db/update-repo-state
This commit is contained in:
parent
1a50f9f607
commit
82c2b6be47
@ -34,7 +34,7 @@
|
||||
(defn update-repo-state
|
||||
[repo-id repo-state]
|
||||
(jdbc/with-db-connection [con-db *db*]
|
||||
(db/update-repo-name con-db {:repo_id repo-id
|
||||
(db/update-repo-state con-db {:repo_id repo-id
|
||||
:repo_state repo-state})))
|
||||
(defn get-repo
|
||||
"Get a repo from DB given it's full name (owner/repo-name)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user