tracking units

This commit is contained in:
hz
2026-05-19 05:20:28 -05:00
parent e78eb24543
commit b0b270f4d8
8 changed files with 258 additions and 22 deletions
@@ -42,7 +42,7 @@ public class UnitsController : ControllerBase
try
{
var training = await _units.TrainAsync(username, request.UnitType);
var training = await _units.TrainAsync(username, request);
if (training is null)
{
return BadRequest(new { error = "Not enough resources." });