diff --git a/tools/lib/sitmc.js b/tools/lib/sitmc.js index dbd8bed7..ab7b3c58 100644 --- a/tools/lib/sitmc.js +++ b/tools/lib/sitmc.js @@ -51,7 +51,7 @@ export async function deleteFile({ remotePath }) { /** * - * @param {{tagName:string,fileName:string}} param0 + * @param {{folder:string,fileName:string}} param0 */ export function getArtifactDownloadUrl({ folder, fileName }) { return `https://temp.sitmc.club/prepare-download/${folder}/${sanitizeNameForUri(fileName)}` diff --git a/tools/publish-preview.js b/tools/publish-preview.js index cc5a0e08..8b2a2f5e 100644 --- a/tools/publish-preview.js +++ b/tools/publish-preview.js @@ -34,7 +34,7 @@ const buildVersionInfo = ({ version }) => { assets: { Android: { fileName, - defaultSrc: getArtifactDownloadUrl({ tagName: "mimir-preview", fileName }), + defaultSrc: getArtifactDownloadUrl({ folder: "mimir-preview", fileName }), } }, }