mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
fixing bug
This commit is contained in:
parent
d357d38919
commit
df609c8df8
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class RecipientSchedule < ApplicationRecord
|
|||
|
||||
def self.create_for_recipient(recipient_or_recipient_id, schedule, next_attempt_at=nil)
|
||||
if next_attempt_at.nil?
|
||||
next_attempt_at = Time.at(schedule.start_date.to_time.to_i + (60 * schedule.time))
|
||||
next_attempt_at = next_valid_attempt_time
|
||||
end
|
||||
|
||||
question_ids = schedule.question_list.question_ids.split(/,/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue