From 73128415d7c1d37ead58c11659c4179acec00569 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Thu, 30 May 2019 15:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=9D=83=E9=99=90=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/games_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/games_service.rb b/app/services/games_service.rb index a65388e2..937e4ecd 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -95,7 +95,7 @@ class GamesService end end - if myshixun_manager + if st == 0 && shixun.status == 2 && myshixun_manager zip_path = Gitlab.endpoint.to_s + "/projects/" + myshixun.gpid.to_s + "/repository/archive?&private_token=" + Gitlab.private_token.to_s container = container.merge(:zip_path => zip_path) end