mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-27 09:12:09 -05:00
parent
ef72f0bed1
commit
f8cee9e545
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export class ModrinthUploader extends GenericPlatformUploader<ModrinthUploaderOp
|
|||
return {
|
||||
id: project.id,
|
||||
version: version.id,
|
||||
url: `https://modrinth.com/${project.project_type}/${project.slug}/version/${version.name}`,
|
||||
url: `https://modrinth.com/${project.project_type}/${project.slug}/version/${version.version_number}`,
|
||||
files: version.files.map(x => ({ id: x.hashes.sha1, name: x.filename, url: x.url })),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue