disable CodeReuse/ActiveRecord
This commit is contained in:
parent
23d70f6281
commit
1dbbd0b9b0
|
@ -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
|
||||||
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'
|
||||||
|
|
Loading…
Reference in New Issue