feat: pass version parameter to APK parser

Update parseApkFilename call to include the version parameter,
allowing the parser to use version-based configuration when
parsing APK filenames.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 23:52:53 +08:00
parent df4daea1c7
commit 0b817984bb

View File

@@ -19,7 +19,7 @@ export async function GET(request: Request) {
try {
const apks = await getApks(project, version, commitId);
const apksWithMetadata = apks.map(apk => {
const parsed = parseApkFilename(apk.name);
const parsed = parseApkFilename(apk.name, version);
return {
name: apk.name,
size: apk.size,