This commit is contained in:
2021-08-01 20:09:11 -05:00
parent b10f61a489
commit bb1d2c491c
6 changed files with 13 additions and 52 deletions

View File

@@ -100,7 +100,7 @@ namespace Gameboard.ShogiUI.Sockets.Controllers
PlayerName = user.Name,
Move = moveModel.ToServiceModel()
}, session.Player1, session.Player2);
return Ok();
return Created(string.Empty, null);
}
throw new InvalidOperationException("Illegal move.");
}