We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd952ce commit 8ce7ff4Copy full SHA for 8ce7ff4
TickAPI/TickAPI/Tickets/Controllers/TicketsController.cs
@@ -5,8 +5,6 @@
5
using TickAPI.Tickets.Abstractions;
6
using TickAPI.Tickets.DTOs.Response;
7
using TickAPI.Common.Pagination.Responses;
8
-using TickAPI.Tickets.Abstractions;
9
-using TickAPI.Tickets.DTOs.Response;
10
11
namespace TickAPI.Tickets.Controllers;
12
@@ -33,7 +31,7 @@ public async Task<ActionResult<GetTicketDetailsResponseDto>> GetTicketDetails(Gu
33
31
}
34
32
var email = emailResult.Value!;
35
var ticket = await _ticketService.GetTicketDetailsAsync(id, email);
36
- if (!ticket.IsSuccess)
+ if (ticket.IsError)
37
{
38
return StatusCode(ticket.StatusCode, ticket.ErrorMsg);
39
0 commit comments