diff options
Diffstat (limited to 'lib/api/internal')
-rw-r--r-- | lib/api/internal/base.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/internal/base.rb b/lib/api/internal/base.rb index d64de2bb465..9de3644daa8 100644 --- a/lib/api/internal/base.rb +++ b/lib/api/internal/base.rb @@ -9,7 +9,8 @@ module API before do Gitlab::ApplicationContext.push( user: -> { actor&.user }, - project: -> { project } + project: -> { project }, + caller_id: route.origin ) end |