From 7042f038f18499c0bf05c3cb90fa90454f7217ff Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 24 Sep 2023 13:14:33 +0900 Subject: [PATCH] fix: return the correct latest version --- packages/backend/src/server/api/endpoints/latest-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/latest-version.ts b/packages/backend/src/server/api/endpoints/latest-version.ts index 911ee8731..6291eb9e0 100644 --- a/packages/backend/src/server/api/endpoints/latest-version.ts +++ b/packages/backend/src/server/api/endpoints/latest-version.ts @@ -20,7 +20,7 @@ export default define(meta, paramDef, async () => { ) .then((response) => response.json()) .then((data) => { - tag_name = data[0].name; + tag_name = data[0].name.slice(1); }); return {