Skip to content

Commit

Permalink
DEV: add empty line after early return
Browse files Browse the repository at this point in the history
  • Loading branch information
Grubba27 committed Dec 12, 2024
1 parent 65a48ee commit f34e1b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/regular/assign_notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f34e1b4

Please sign in to comment.