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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Typo fix
KrzysztofPajak5d7fce4765fa
diff --git a/src/API/Grand.Api/Controllers/TokenWebController.cs b/src/API/Grand.Api/Controllers/TokenWebController.csindex 88394c412..725e71cf2 100644--- a/src/API/Grand.Api/Controllers/TokenWebController.cs+++ b/src/API/Grand.Api/Controllers/TokenWebController.cs@@ -140,7 +140,7 @@ namespace Grand.Api.Controllers[AllowAnonymous]public IActionResult Antiforgery(){- if (_apiConfig.Enabled)+ if (!_apiConfig.Enabled)return BadRequest("API is disabled");var token = _antiforgery.GetAndStoreTokens(HttpContext).RequestToken;