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 black = playerInfoFrom(req.black, DefaultBlack)
|
||||||
val entry = newEntry(GameContext.initial, white, black)
|
val entry = newEntry(GameContext.initial, white, black)
|
||||||
registry.store(entry)
|
registry.store(entry)
|
||||||
|
println(s"Created game ${entry.gameId}")
|
||||||
created(toGameFullDto(entry))
|
created(toGameFullDto(entry))
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
|
|||||||
Reference in New Issue
Block a user