From 26aff7a651c9c5bf21b3cbc355b356ee1f1d48c7 Mon Sep 17 00:00:00 2001 From: CaffeeLake Date: Mon, 5 Jun 2023 21:44:28 +0900 Subject: [PATCH] Fix: #10955 TypeError: JSON5.parse is not a function (#10956) * Fix: JSON5.parse is not a function * update changelog * update chglog --------- Co-authored-by: tamaina --- packages/backend/src/server/api/endpoints/meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/meta.ts b/packages/backend/src/server/api/endpoints/meta.ts index c603cb9ac..14256eb7b 100644 --- a/packages/backend/src/server/api/endpoints/meta.ts +++ b/packages/backend/src/server/api/endpoints/meta.ts @@ -1,4 +1,4 @@ -import * as JSON5 from "json5"; +import JSON5 from "json5"; import { IsNull, MoreThan } from "typeorm"; import config from "@/config/index.js"; import { fetchMeta } from "@/misc/fetch-meta.js";