From fe09bd4d74025ea828425c6ffb0236549d51163f Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 1 Jun 2023 15:07:25 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- lib/api/helpers.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/api/helpers.rb') diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 98f6733a6f2..df080c8e666 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -20,6 +20,10 @@ module API API_RESPONSE_STATUS_CODE = 'gitlab.api.response_status_code' INTEGER_ID_REGEX = /^-?\d+$/.freeze + def logger + API.logger + end + def declared_params(options = {}) options = { include_parent_namespaces: false }.merge(options) declared(params, options).to_h.symbolize_keys -- cgit v1.2.3