Skip to content

Commit

Permalink
fixed an issue where to_id_set_entity method failled on id extraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
YuvHayun committed Nov 21, 2023
1 parent 4b7af85 commit 17fcdef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog
## Unreleased
* Fixed an issue in **prepare-content** where tags were added to metadata because of test scripts.
* fixed an issue where to_id_set_entity method failed on id extraction.

## 1.23.0
* Added support for inputs sections and outputs sections in a playbook.
Expand Down
2 changes: 1 addition & 1 deletion demisto_sdk/commands/content_graph/objects/content_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def to_id_set_entity(self) -> dict:
"""
id_set_entity = self.dict()
id_set_entity["file_path"] = str(self.path)
id_set_entity["pack"] = self.pack.object_id # type: ignore[union-attr]
id_set_entity["pack"] = self.in_pack.object_id # type: ignore[union-attr]
return id_set_entity

def is_incident_to_alert(self, marketplace: MarketplaceVersions) -> bool:
Expand Down

0 comments on commit 17fcdef

Please sign in to comment.