Merge tag 'v4.0.5'

This commit is contained in:
Mike Barnes 2023-07-07 01:51:21 +10:00
commit b45ba2d672
52 changed files with 599 additions and 170 deletions

View file

@ -513,7 +513,7 @@ module Mastodon
User.pending.find_each(&:approve!)
say('OK', :green)
elsif options[:number]
User.pending.limit(options[:number]).each(&:approve!)
User.pending.order(created_at: :asc).limit(options[:number]).each(&:approve!)
say('OK', :green)
elsif username.present?
account = Account.find_local(username)

View file

@ -13,7 +13,7 @@ module Mastodon
end
def patch
4
5
end
def flags