From 4ebceb0c7e9d3b8593f836f0d0331ddfb923d6cc Mon Sep 17 00:00:00 2001 From: naskya Date: Sat, 11 Nov 2023 09:04:36 +0900 Subject: [PATCH] chore: format --- packages/backend/src/server/api/endpoints/latest-version.ts | 4 +++- 1 file changed, 3 insertions(+), 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 9a600526..a5127f98 100644 --- a/packages/backend/src/server/api/endpoints/latest-version.ts +++ b/packages/backend/src/server/api/endpoints/latest-version.ts @@ -17,7 +17,9 @@ export default define(meta, paramDef, async () => { let tag_name: string; const pattern = /"version": "(.*)",$/m; - await fetch("https://code.naskya.net/naskya/firefish/source-by/main/package.json") + await fetch( + "https://code.naskya.net/naskya/firefish/source-by/main/package.json", + ) .then((response) => response.text()) .then((text) => { tag_name = pattern.exec(text)[1];