0
0
Fork 0

Fix Lint/UnusedBlockArgument cop (#27777)

This commit is contained in:
Matt Jankowski 2023-11-09 04:43:26 -05:00 committed by GitHub
parent 5af47fbff8
commit c875dfc90b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 15 deletions

View file

@ -169,7 +169,7 @@ Doorkeeper.configure do
# Under some circumstances you might want to have applications auto-approved,
# so that the user skips the authorization step.
# For example if dealing with a trusted application.
skip_authorization do |resource_owner, client|
skip_authorization do |_resource_owner, client|
client.application.superapp?
end