From f34e1b468f7d28629a3d9f5be4cefd10ad6b72f6 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Thu, 12 Dec 2024 11:20:06 -0300 Subject: [PATCH] DEV: add empty line after early return --- app/jobs/regular/assign_notification.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/jobs/regular/assign_notification.rb b/app/jobs/regular/assign_notification.rb index cdf3f3ba..e4a6ec0e 100644 --- a/app/jobs/regular/assign_notification.rb +++ b/app/jobs/regular/assign_notification.rb @@ -5,6 +5,7 @@ class AssignNotification < ::Jobs::Base def execute(args) raise Discourse::InvalidParameters.new(:assignment_id) if args[:assignment_id].nil? return if SilencedAssignment.exists?(assignment_id: args[:assignment_id]) + Assignment.find(args[:assignment_id]).create_missing_notifications! end end