fix(rule): Rules as a microservice
Added rules as a microservice
This commit is contained in:
@@ -138,6 +138,7 @@ class GameResource:
|
||||
val black = playerInfoFrom(req.black, DefaultBlack)
|
||||
val entry = newEntry(GameContext.initial, white, black)
|
||||
registry.store(entry)
|
||||
println(s"Created game ${entry.gameId}")
|
||||
created(toGameFullDto(entry))
|
||||
|
||||
@GET
|
||||
|
||||
Reference in New Issue
Block a user