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:
@@ -19,7 +19,7 @@ export async function GET(request: Request) {
|
|||||||
try {
|
try {
|
||||||
const apks = await getApks(project, version, commitId);
|
const apks = await getApks(project, version, commitId);
|
||||||
const apksWithMetadata = apks.map(apk => {
|
const apksWithMetadata = apks.map(apk => {
|
||||||
const parsed = parseApkFilename(apk.name);
|
const parsed = parseApkFilename(apk.name, version);
|
||||||
return {
|
return {
|
||||||
name: apk.name,
|
name: apk.name,
|
||||||
size: apk.size,
|
size: apk.size,
|
||||||
|
|||||||
Reference in New Issue
Block a user