Skip to content

Commit

Permalink
topic id called
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash Sanjay Sonar committed Mar 27, 2023
1 parent 69eb835 commit 948246b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/due_date_mix_in.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def num_review_rounds
end

def find_current_stage(participant_id = nil)
topic_id = find_topic_id(participant_id)
next_due_date = DueDate.get_next_due_date(id, topic_id)
return 'Finished' if next_due_date.nil?

Expand Down

0 comments on commit 948246b

Please sign in to comment.