Fix blog comment endpoint path and add regression test
Some checks failed
Dotnet build and test / log-the-inputs (push) Has been cancelled
Dotnet build and test / build (push) Has been cancelled

This commit is contained in:
Paul Schneider 2026-08-10 21:48:03 +01:00
commit 0fd9e40d67
No known key found for this signature in database
GPG key ID: 1E66C65EE2B46F1B
4 changed files with 41 additions and 5 deletions

View file

@ -71,7 +71,7 @@ namespace Yavsc.Org.Controllers
try
{
var blog = await blogSpotService.Details(User, id.Value);
ViewBag.apicmtctlr = "/api/blogcomments";
ViewBag.apicmtctlr = "/api/v1/blogcomments";
ViewBag.moderatoFlag = User.IsInMsRole(YavscConstants.BlogModeratorGroupName);
return View(blog);