From 684906e0a217430e402b084751fd9a35b5b31b32 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 22 Sep 2023 16:50:13 -0400 Subject: [PATCH] fix(striker-ui-api): correct pattern in disassemble server ss name --- .../src/lib/request_handlers/server/getServerDetail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/striker-ui-api/src/lib/request_handlers/server/getServerDetail.ts b/striker-ui-api/src/lib/request_handlers/server/getServerDetail.ts index 2c2a81f2..38b9b180 100644 --- a/striker-ui-api/src/lib/request_handlers/server/getServerDetail.ts +++ b/striker-ui-api/src/lib/request_handlers/server/getServerDetail.ts @@ -17,7 +17,7 @@ type ServerSsMeta = { const disassembleServerSsName = (name: string): ServerSsMeta => { const csv = name.replace( - new RegExp(`^server-uuid_(${P_UUID})_timestamp-(\\d+)`), + new RegExp(`^server-uuid_(${P_UUID})_timestamp-(\\d+).*$`), '$1,$2', );