Autofix Rubocop Style/Lambda (#23696)
This commit is contained in:
parent
e2a3ebb271
commit
ab7816a414
6 changed files with 7 additions and 19 deletions
|
@ -121,7 +121,7 @@ module Mastodon
|
|||
|
||||
prompt.warn('Do NOT interrupt this process...')
|
||||
|
||||
delete_account = ->(account) do
|
||||
delete_account = lambda do |account|
|
||||
payload = ActiveModelSerializers::SerializableResource.new(
|
||||
account,
|
||||
serializer: ActivityPub::DeleteActorSerializer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue