Skip to content

Commit fa573ab

Browse files
committed
fix: Use correct path for malware data keys
1 parent b3d25e7 commit fa573ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ocm/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const dataKey = ({type, data}) => {
123123
})
124124

125125
if (type === artefactMetadataTypes.FINDING_MALWARE) return asKey({
126-
props: [data.finding.content_digest, data.finding.filename, data.finding.malware],
126+
props: [data.content_digest, data.filename, data.malware],
127127
})
128128

129129
if (type === CRYPTO_ASSET_TYPES.ALGORITHM) return asKey({

0 commit comments

Comments
 (0)