diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index 936bd2b..306405e 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -68,7 +68,7 @@ defmodule KmxgitWeb.RepositoryController do
defp create_repo(conn, owner, params) do
case Repo.transaction(fn ->
case RepositoryManager.create_repository(owner, params) do
- {:ok, repo} -> {:ok, repo}
+ {:ok, repo} -> repo
{:error, changeset} -> Repo.rollback changeset
end
end) do