Skip to content

Commit

Permalink
Merge pull request #6816 from scinote-eln/develop
Browse files Browse the repository at this point in the history
December 2023 Hotfix 1
  • Loading branch information
artoscinote authored Dec 13, 2023
2 parents f512cf4 + 795aba7 commit fe5c3a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.29.5
1.29.5.1
2 changes: 1 addition & 1 deletion app/jobs/my_modules/due_date_reminder_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module MyModules
class DueDateReminderJob < ApplicationJob
def perform
my_modules = MyModule.approaching_due_dates
my_modules = MyModule.uncomplete.approaching_due_dates

my_modules.each do |task|
TaskDueDateNotification.send_notifications({ my_module_id: task.id })
Expand Down
2 changes: 1 addition & 1 deletion app/notifications/task_due_date_notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ def subject
end

after_deliver do
MyModule.find(params[:my_module_id]).update(due_date_notification_sent: true)
MyModule.find(params[:my_module_id]).update_column(:due_date_notification_sent, true)
end
end

0 comments on commit fe5c3a3

Please sign in to comment.