summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-20 14:51:23 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-02-02 22:05:13 +0100
commitd7adbf5a63e7f4321615e34d6c9e8987ff2f6d3e (patch)
treec97d26c974f5442c8b0ba02a5b266026a204a179
parent5231ae7ae6d8b88e7114345b383a15a905c038f3 (diff)
Change mastodon:webpush:generate_vapid_key task to not require functional env (#17338)
Fixes #17297
-rw-r--r--lib/tasks/mastodon.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake
index c89c4726e12..5bd637072e9 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -439,7 +439,7 @@ namespace :mastodon do
namespace :webpush do
desc 'Generate VAPID key'
- task generate_vapid_key: :environment do
+ task :generate_vapid_key do
vapid_key = Webpush.generate_key
puts "VAPID_PRIVATE_KEY=#{vapid_key.private_key}"
puts "VAPID_PUBLIC_KEY=#{vapid_key.public_key}"