Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Refactor LoadPictureFromFile method signature

support798e6e10dd69
diff --git a/src/Business/Grand.Business.Storage/Services/PictureService.cs b/src/Business/Grand.Business.Storage/Services/PictureService.cs
index d2f01a04c..f28cda44b 100644
--- a/src/Business/Grand.Business.Storage/Services/PictureService.cs
+++ b/src/Business/Grand.Business.Storage/Services/PictureService.cs
@@ -99,7 +99,7 @@ namespace Grand.Business.Storage.Services
/// <param name="pictureId">Picture identifier</param>
/// <param name="mimeType">MIME type</param>
/// <returns>Picture binary</returns>
- protected virtual async Task<byte[]> LoadPictureFromFile(string pictureId, string mimeType)
+ protected async Task<byte[]> LoadPictureFromFile(string pictureId, string mimeType)
{
var lastPart = GetFileExtensionFromMimeType(mimeType);
var fileName = $"{pictureId}_0.{lastPart}";