Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin' into dcc/lh-decideix-202304
Browse files Browse the repository at this point in the history
  • Loading branch information
darccio committed Apr 22, 2023
2 parents 47aec06 + dd14c4e commit cf37a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/consultation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Config
after_update :update_default_event, if: :synchronous?

def exhausted_for?(token)
token.receipts.count == questions.count
token.receipts.where(question_id: question_ids).count == questions.count
end

private
Expand Down

0 comments on commit cf37a2b

Please sign in to comment.