From 60e23897cba6e259f7a6505dadd65cefdff478d9 Mon Sep 17 00:00:00 2001 From: Brian Austin Date: Mon, 30 Dec 2024 13:01:53 -0500 Subject: [PATCH] Fix pseuds task typo --- lib/tasks/after_tasks.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/after_tasks.rake b/lib/tasks/after_tasks.rake index a6c248d838..ab25ca2a3f 100644 --- a/lib/tasks/after_tasks.rake +++ b/lib/tasks/after_tasks.rake @@ -359,7 +359,7 @@ namespace :After do ext = File.extname(image) image_original = "original#{ext}" - icon_url = if Rails.env.production + icon_url = if Rails.env.production? "https://s3.amazonaws.com/otw-ao3-icons/icons/#{pseud.id}/#{image_original}" else "https://s3.amazonaws.com/otw-ao3-icons/staging/icons/#{pseud.id}/#{image_original}"