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.

UploadFileProductAttribute - minor changes

DanielŻuławski05b1e6ae40df
diff --git a/src/Web/Grand.Web/Endpoints/EndpointProvider.cs b/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
index 5d9c89c46..017f8064a 100644
--- a/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
+++ b/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
@@ -326,7 +326,7 @@ namespace Grand.Web.Endpoints
//product attributes with "upload file" type
endpointRouteBuilder.MapControllerRoute("UploadFileProductAttribute",
- pattern + "uploadfileproductattribute/{attributeId}",
+ pattern + "uploadfileproductattribute/{attributeId?}",
new { controller = "Product", action = "UploadFileProductAttribute" });
}