Added unused dependencies property -_-

This commit is contained in:
Kir_Antipov 2021-09-26 20:22:38 +03:00
parent e07b3d5c99
commit b3b5a975fb

View file

@ -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)