Skip to content

Commit

Permalink
Fixes the max ticket count check.
Browse files Browse the repository at this point in the history
  • Loading branch information
trilleplay authored May 7, 2024
2 parents 3fbd20c + 223cbd4 commit eaa03b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nexpo/Controllers/Events/TicketsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public async Task<ActionResult> PostTicket(CreateTicketDTO DTO)
{
return false;
}
bool isSuccess = DateTime.TryParse(foundEvent.Result.Start, out var eventDateTime);
bool isSuccess = DateTime.TryParse(foundEvent.Result.Date, out var eventDateTime);
if (isSuccess)
{
return eventDateTime > DateTime.Now;
Expand Down

0 comments on commit eaa03b2

Please sign in to comment.