Skip to content

Commit

Permalink
fix: fix checksum undefined (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
marknguyen1302 committed Aug 7, 2024
1 parent ff2a102 commit ab8d1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex-js/src/usecases/models/models.usecases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class ModelsUsecases {
if (file.downloadUrl)
acc[file.downloadUrl] = {
destination: join(modelFolder, file.rfilename),
checksum: file.lfs.oid,
checksum: file?.lfs?.oid,
};
return acc;
},
Expand Down

0 comments on commit ab8d1bf

Please sign in to comment.