mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260)
This commit is contained in:
@@ -50,7 +50,7 @@ namespace :tests do
|
||||
exit(1)
|
||||
end
|
||||
|
||||
if Account.find(-99).private_key.blank?
|
||||
if Account.find(Account::INSTANCE_ACTOR_ID).private_key.blank?
|
||||
puts 'Instance actor does not have a private key'
|
||||
exit(1)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user