summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/api/applications.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/applications.rb b/lib/api/applications.rb
index 8d83684e3a9..048e7bc81f9 100644
--- a/lib/api/applications.rb
+++ b/lib/api/applications.rb
@@ -25,6 +25,7 @@ module API
end
end
+ # rubocop: disable CodeReuse/ActiveRecord
desc 'Get applications' do
success Entities::ApplicationWithSecret
end
@@ -32,6 +33,7 @@ module API
applications = Doorkeeper::Application.where("owner_id IS NULL")
present applications, with: Entities::Application
end
+ # rubocop: enable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
desc 'Delete an application'