Skip to content

Commit a411134

Browse files
authored
scores property renamed to score (#18)
* some property names changed in diff endpoint
1 parent adc2470 commit a411134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

socketdev/fullscans/__init__.py

+1-1
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"],

socketdev/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.1"
1+
__version__ = "2.0.2"

0 commit comments

Comments
 (0)