From e0f1939e4a7a3eb3f14a1e9a97d6bab94c9bae14 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 26 Sep 2020 18:00:58 -0400 Subject: [PATCH] forgot to commit change --- gene-pool-backend/BlobStorageHelper.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gene-pool-backend/BlobStorageHelper.cs b/gene-pool-backend/BlobStorageHelper.cs index 2ade6ff..eb015dd 100644 --- a/gene-pool-backend/BlobStorageHelper.cs +++ b/gene-pool-backend/BlobStorageHelper.cs @@ -46,8 +46,10 @@ public async Task UploadLinkToBlobAsync(string url) { Debug.WriteLine("I got here 1"); FileHelper.SaveVideoToDisk(url, mp4file); - if (!FileHelper.ToWavFormat(mp4file, wavfile)) { - return 2; + int res = FileHelper.ToWavFormat(mp4file, wavfile); + + if (res != 0) { + return res; } // Create the container and return a container client object