mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-22 09:18:08 +00:00
Fixed broken audio cdn url
This commit is contained in:
@@ -57,10 +57,12 @@ namespace PodNoms.Api.Controllers
|
||||
}
|
||||
}
|
||||
[HttpGet("all/{podcastSlug}")]
|
||||
public async Task<IEnumerable<PodcastEntryViewModel>> GetAllForSlug(string podcastSlug)
|
||||
public async Task<IActionResult> GetAllForSlug(string podcastSlug)
|
||||
{
|
||||
var entries = await _repository.GetAllAsync(podcastSlug);
|
||||
return _mapper.Map<List<PodcastEntry>, List<PodcastEntryViewModel>>(entries.ToList());
|
||||
var results = _mapper.Map<List<PodcastEntry>, List<PodcastEntryViewModel>>(entries.ToList());
|
||||
|
||||
return Ok(results);
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
||||
Reference in New Issue
Block a user