diff options
Diffstat (limited to 'Controllers')
-rw-r--r-- | Controllers/RafflesController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Controllers/RafflesController.cs b/Controllers/RafflesController.cs index 0da75d5..9f50449 100644 --- a/Controllers/RafflesController.cs +++ b/Controllers/RafflesController.cs @@ -120,7 +120,7 @@ namespace BackendPIA.Controllers { if(raffle == null) return NotFound(new NotFoundError(404, $"The raffle with id {id} doesn't exist.")); - var prizes = _service.GetRaffleTickets(id); + var prizes = _service.GetRafflePrizes(id); return Ok(_mapper.Map<IEnumerable<PrizeDTO>>(prizes)); } |