From 246b871237657e260cdaefcd8bce32c87d8b2d84 Mon Sep 17 00:00:00 2001 From: Benedikt Werner <1benediktwerner@gmail.com> Date: Fri, 26 Nov 2021 15:27:29 +0100 Subject: [PATCH] Fix /api/bot/online route (move it before /api/bot/*cmd) --- conf/routes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/routes b/conf/routes index 3f72505716..2fc8fe6e00 100644 --- a/conf/routes +++ b/conf/routes @@ -707,10 +707,10 @@ GET /api/user/:name/games controllers.Api.userGames(name: String) # Bot API GET /api/bot/game/stream/:id controllers.PlayApi.botGameStream(id: String) POST /api/bot/game/:id/move/:uci controllers.PlayApi.botMove(id: String, uci: String, offeringDraw: Option[Boolean] ?= None) +GET /api/bot/online controllers.PlayApi.botOnlineApi POST /api/bot/*cmd controllers.PlayApi.botCommand(cmd: String) GET /api/bot/*cmd controllers.PlayApi.botCommandGet(cmd: String) GET /player/bots controllers.PlayApi.botOnline -GET /api/bot/online controllers.PlayApi.botOnlineApi # Board API GET /api/board/game/stream/:id controllers.PlayApi.boardGameStream(id: String)