]> cat aescling's git repositories - mastodon.git/commitdiff
Change mastodon:webpush:generate_vapid_key task to not require functional env (#17338)
authorClaire <claire.github-309c@sitedethib.com>
Thu, 20 Jan 2022 13:51:23 +0000 (14:51 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Jan 2022 13:51:23 +0000 (14:51 +0100)
Fixes #17297

lib/tasks/mastodon.rake

index d905a07dad42a32f209a04472e64870cdc399f1c..a89af6778074391c315176bd009572665997334d 100644 (file)
@@ -441,7 +441,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}"