Skip to content
Snippets Groups Projects

Ensure Current.organization is set in REST API

Merged Rutger Wessels requested to merge 474831-rest-api-current_organization into master
+ 1
1
@@ -93,7 +93,7 @@ def initialize(location_url)
before do
::Current.organization = Gitlab::Current::Organization.new(
params: {},
user: current_user
user: @current_user
).organization
end
Loading