diff options
Diffstat (limited to 'lib/api/import_github.rb')
-rw-r--r-- | lib/api/import_github.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/import_github.rb b/lib/api/import_github.rb index 6330a4458f3..6550808a563 100644 --- a/lib/api/import_github.rb +++ b/lib/api/import_github.rb @@ -111,8 +111,6 @@ module API requires :personal_access_token, type: String, desc: 'GitHub personal access token' end post 'import/github/gists' do - not_found! if Feature.disabled?(:github_import_gists) - authorize! :create_snippet result = Import::Github::GistsImportService.new(current_user, client, access_params).execute |