diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_net.rb | 2 | ||||
-rw-r--r-- | lib/gitlab_shell.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index 09767da..75062a6 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -28,7 +28,7 @@ class GitlabNet # rubocop:disable Metrics/ClassLength who_sym, _, who_v = self.class.parse_who(who) params[who_sym] = who_v - url = "#{internal_api_endpoint}/allowed" + url = "#{internal_api_endpoint}/allowed/secure" resp = post(url, params) case resp diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 303f4d5..f8db4c5 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -77,7 +77,7 @@ class GitlabShell # rubocop:disable Metrics/ClassLength end if @command == GIT_RECEIVE_PACK_COMMAND && access_status.custom_action? - # If the response from /api/v4/allowed is a HTTP 300, we need to perform + # If the response from /api/v4/allowed/secure is a HTTP 300, we need to perform # a Custom Action and therefore should return and not call process_cmd() # return process_custom_action(access_status) |