Skip to content

Commit

Permalink
fix: condition to get check points without finish checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
takaishi committed Nov 10, 2024
1 parent 4894cc6 commit 32d9780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def attend_online?
end

def stamp_rally_status
check_points = conference.stamp_rally_check_points
check_points = conference.stamp_rally_check_points.where.not(type: StampRallyCheckPointFinish.name)
check_ins = check_ins(StampRallyCheckPointBooth) + check_ins(StampRallyCheckPoint)
finish_check_in = check_ins(StampRallyCheckPointFinish)

Expand Down

0 comments on commit 32d9780

Please sign in to comment.