Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit ab8d1bf

Browse files
fix: fix checksum undefined (#991)
1 parent ff2a102 commit ab8d1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-js/src/usecases/models/models.usecases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export class ModelsUsecases {
421421
if (file.downloadUrl)
422422
acc[file.downloadUrl] = {
423423
destination: join(modelFolder, file.rfilename),
424-
checksum: file.lfs.oid,
424+
checksum: file?.lfs?.oid,
425425
};
426426
return acc;
427427
},

0 commit comments

Comments
 (0)