diff options
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 9167bac..4da97c7 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -49,9 +49,7 @@ class GitlabShell end def validate_access - @ref_name = 'master' # just hardcode it cause we dont know ref - - api.allowed?(@git_cmd, @repo_name, @key_id, @ref_name) + api.allowed?(@git_cmd, @repo_name, @key_id, '_any') end def api |