Move self destruct check to config_for and add constant for verifier string (#32943)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-11-18 09:57:16 +00:00
1 parent 911d7dbbf6
commit c0c34d35e2
4 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ module Mastodon::CLI
def self_destruct_value
Rails
.application
.message_verifier('self-destruct')
.message_verifier(SelfDestructHelper::VERIFY_PURPOSE)
.generate(Rails.configuration.x.local_domain)
end
end