Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
03haax committed May 7, 2024
1 parent 3fbd20c commit 223cbd4
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 223cbd4

Please sign in to comment.