take url inputs on `GetUserAndVikingCount`

This commit is contained in:
Alan Moon 2025-03-14 17:24:52 -07:00
parent e8e1369012
commit 0a97ff8d42

View File

@ -14,7 +14,7 @@ namespace sodoff.Controllers.Common
[HttpGet]
[Route("AnalyticsWebService.asmx/GetUserAndVikingCount")]
public IActionResult GetUserAndVikingCount([FromForm] bool vikingsOnly)
public IActionResult GetUserAndVikingCount(bool vikingsOnly)
{
if (vikingsOnly) return Ok(new UserStatistics
{