From 06fc16481f9d843db81d1724e57a0a6226cd52f8 Mon Sep 17 00:00:00 2001 From: Troy Li Date: Sat, 28 Dec 2024 20:21:42 +0800 Subject: [PATCH] fix: semantic errors related to import json (#166) --- hakit/server/routes/download-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hakit/server/routes/download-version.ts b/hakit/server/routes/download-version.ts index af6bd8b..c6e7308 100644 --- a/hakit/server/routes/download-version.ts +++ b/hakit/server/routes/download-version.ts @@ -6,7 +6,7 @@ import { APP_DIRECTORY } from '../constants.js'; import { downloadFile, listFilesInFolder } from '../google/drive/index.js'; import { ensureDirectoryExists, translateError } from '../helpers/index.js'; import { loadFile } from '../helpers/read-file.js'; -import addonPackage from '../../package.json' assert { type: 'json' }; +import addonPackage from '../../package.json' with { type: 'json' }; export async function downloadVersion(_req: Request, res: Response) { // TODO - change download version to download a specific version