From 82c2b6be476d4c1536fabf7576ed2731d9a72d89 Mon Sep 17 00:00:00 2001 From: Rob Culliton Date: Wed, 11 Apr 2018 14:02:13 -0400 Subject: [PATCH] update-repo-state should call db/update-repo-state --- src/clj/commiteth/db/repositories.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/commiteth/db/repositories.clj b/src/clj/commiteth/db/repositories.clj index eb06b38..9e82b7b 100644 --- a/src/clj/commiteth/db/repositories.clj +++ b/src/clj/commiteth/db/repositories.clj @@ -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)"