fix fromRoute
This commit is contained in:
@@ -72,7 +72,7 @@ public class AssignmentsController : ControllerBase
|
||||
[AllowAnonymous]
|
||||
[HttpPost("balance/calc/{month:int}")]
|
||||
[IgnoreTenant]
|
||||
public async Task Calc([FromQuery] int month)
|
||||
public async Task Calc([FromRoute] int month)
|
||||
{
|
||||
if (month is < 1 or > 12)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user