diff --git a/lib/api/project_export.rb b/lib/api/project_export.rb index 4041faae971..6ec2626df1a 100644 --- a/lib/api/project_export.rb +++ b/lib/api/project_export.rb @@ -1,7 +1,7 @@ module API class ProjectExport < Grape::API before do - not_found! unless Gitlab::CurrentSettings.current_application_settings.project_export_enabled? + not_found! unless Gitlab::CurrentSettings.project_export_enabled? authorize_admin_project end