Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public async Task<IActionResult> Upload(ICollection<IFormFile> files)
return BadRequest("No files received from the upload");

if (storageConfig.AccountKey == string.Empty || storageConfig.AccountName == string.Empty)
return BadRequest("sorry, can't retrieve your azure storage details from appsettings.js, make sure that you add azure storage details there");
return BadRequest("Sorry, your Azure storage details couldn't be retrieved from appsettings.json, make sure that you add Azure storage details there");

if (storageConfig.ImageContainer == string.Empty)
return BadRequest("Please provide a name for your image container in the azure blob storage");
Expand Down Expand Up @@ -64,7 +64,7 @@ public async Task<IActionResult> Upload(ICollection<IFormFile> files)
return new AcceptedResult();
}
else
return BadRequest("Look like the image couldnt upload to the storage");
return BadRequest("Looks like the image couldn't be uploaded to the storage");
}
catch (Exception ex)
{
Expand All @@ -79,7 +79,7 @@ public async Task<IActionResult> GetThumbNails()
try
{
if (storageConfig.AccountKey == string.Empty || storageConfig.AccountName == string.Empty)
return BadRequest("Sorry, can't retrieve your Azure storage details from appsettings.js, make sure that you add Azure storage details there.");
return BadRequest("Sorry, your Azure storage details couldn't be retrieved from appsettings.json, make sure that you add Azure storage details there.");

if (storageConfig.ImageContainer == string.Empty)
return BadRequest("Please provide a name for your image container in Azure blob storage.");
Expand All @@ -93,4 +93,4 @@ public async Task<IActionResult> GetThumbNails()
}
}
}
}
}