Commit 1dbbd0b9 authored by JB Vasseur's avatar JB Vasseur

disable CodeReuse/ActiveRecord

parent 23d70f62
...@@ -25,6 +25,7 @@ module API ...@@ -25,6 +25,7 @@ module API
end end
end end
# rubocop: disable CodeReuse/ActiveRecord
desc 'Get applications' do desc 'Get applications' do
success Entities::ApplicationWithSecret success Entities::ApplicationWithSecret
end end
...@@ -32,6 +33,7 @@ module API ...@@ -32,6 +33,7 @@ module API
applications = Doorkeeper::Application.where("owner_id IS NULL") applications = Doorkeeper::Application.where("owner_id IS NULL")
present applications, with: Entities::Application present applications, with: Entities::Application
end end
# rubocop: enable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
desc 'Delete an application' desc 'Delete an application'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment