Boilerplate added

This commit is contained in:
Fergal Moran
2018-05-02 22:17:22 +01:00
parent 5c51c531f1
commit 15f681254b
11 changed files with 101 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ namespace PodNoms.Api.Controllers {
if (user != null) {
var podcast = await _podcastRepository.GetAsync(user.Id, entry);
if (podcast != null) {
string xml = ResourceReader.ReadResource("podcast.xml", _logger);
string xml = await ResourceReader.ReadResource("podcast.xml");
var template = Handlebars.Compile(xml);
var compiled = new PodcastEnclosureViewModel {
Title = podcast.Title,