aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/bots
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-10-29 23:54:17 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-10-30 16:23:35 +0100
commit67c8a2780c92d247b7343b2107f3d69fc9763797 (patch)
treee94a9aeb7cbcf24b62f973bb2def8d5402f9cad7 /web/pw-server/src/routes/bots
parent33cd3a85f322ba5aaf4d85275e111a1e7deb5dd9 (diff)
downloadplanetwars.dev-67c8a2780c92d247b7343b2107f3d69fc9763797.tar.xz
planetwars.dev-67c8a2780c92d247b7343b2107f3d69fc9763797.zip
type fixes
Diffstat (limited to 'web/pw-server/src/routes/bots')
-rw-r--r--web/pw-server/src/routes/bots/[bot_name]/index.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name]/index.svelte b/web/pw-server/src/routes/bots/[bot_name]/index.svelte
index 37d9da9..b046754 100644
--- a/web/pw-server/src/routes/bots/[bot_name]/index.svelte
+++ b/web/pw-server/src/routes/bots/[bot_name]/index.svelte
@@ -10,7 +10,7 @@
apiClient.get(`/api/bots/${bot_name}`),
apiClient.get(`/api/bots/${bot_name}/stats`),
apiClient.get("/api/matches", { bot: params["bot_name"], count: "20" }),
- apiClient.get("/api/matches", { bot: params["bot_name"], count: "10", had_errors: true }),
+ apiClient.get("/api/matches", { bot: params["bot_name"], count: "10", had_errors: "true" }),
]);
const { bot, owner, versions } = botData;