about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-20 14:51:23 +0100
committerGitHub <noreply@github.com>2022-01-20 14:51:23 +0100
commit1e8c885e5a5a3456785578440168983ce21266ab (patch)
tree06b8d6d6a72b1e1effc0593e8968309f8e00abbe /lib
parent6eea3f8f9c41114002782d7a44993004bdd64832 (diff)
Change mastodon:webpush:generate_vapid_key task to not require functional env (#17338)
Fixes #17297
Diffstat (limited to 'lib')
-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 d905a07da..a89af6778 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -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}"