From b3b5a975fb5a6d4212adb84049d191542a27b96a Mon Sep 17 00:00:00 2001 From: Kir_Antipov <kp.antipov@gmail.com> Date: Sun, 26 Sep 2021 20:22:38 +0300 Subject: [PATCH] Added unused `dependencies` property -_- --- src/utils/modrinth-utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/modrinth-utils.ts b/src/utils/modrinth-utils.ts index 38886a7..e3be86c 100644 --- a/src/utils/modrinth-utils.ts +++ b/src/utils/modrinth-utils.ts @@ -5,6 +5,7 @@ import { File } from "./file-utils"; export async function createVersion(id: string, data: Record<string, any>, files: File[], token: string): Promise<string> { data = { + dependencies: [], ...data, mod_id: id, file_parts: files.map(x => x.name)