Skip to content

Commit f166a56

Browse files
committed
scores property renamed to score
1 parent adc2470 commit f166a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

socketdev/fullscans/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def from_dict(cls, data: dict) -> "DiffArtifact":
424424
type=data["type"],
425425
name=data["name"],
426426
license=data.get("license", ""),
427-
scores=SocketScore.from_dict(data["scores"]),
427+
scores=SocketScore.from_dict(data["score"]),
428428
capabilities=SecurityCapabilities.from_dict(data["capabilities"]),
429429
files=data["files"],
430430
version=data["version"],

0 commit comments

Comments
 (0)