diff options
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 599d5bd0baf..c4a3385efd0 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -537,6 +537,10 @@ module API ) end + def with_api_params(&block) + yield({ api: true, request: request }) + end + protected def project_finder_params_visibility_ce |