Skip to content

Commit

Permalink
Address nit
Browse files Browse the repository at this point in the history
  • Loading branch information
julianweng committed Feb 5, 2025
1 parent 8d0adca commit 194cebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/clubs/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def validate(self, data):
raise serializers.ValidationError(
"Your event start time must be less than the end time!"
)
if ticket_drop_time is not None and ticket_drop_time > end_time:
if ticket_drop_time is not None and ticket_drop_time >= end_time:
raise serializers.ValidationError(
"Your ticket drop time must be before the event ends!"
)
Expand Down

0 comments on commit 194cebe

Please sign in to comment.