diff options
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/project_export.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |