Fixed local file passing

This commit is contained in:
Fergal Moran
2017-11-12 20:56:43 +00:00
parent dd4007af26
commit de3ef13e1c
4 changed files with 8 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ namespace PodNoms.Api.Controllers
{
var infoJobId = BackgroundJob.Enqueue<IUrlProcessService>(service => service.GetInformation(entry.Id));
var extract = BackgroundJob.ContinueWith<IUrlProcessService>(infoJobId, service => service.DownloadAudio(entry.Id));
var upload = BackgroundJob.ContinueWith<IAudioUploadProcessService>(extract, service => service.UploadAudio(entry.Id));
var upload = BackgroundJob.ContinueWith<IAudioUploadProcessService>(extract, service => service.UploadAudio(entry.Id, entry.AudioUrl));
}
catch (InvalidOperationException ex)
{