Skip to content

Commit

Permalink
fix: send Component.key instead of Component.id to CONTENT_OBJECT_TAG…
Browse files Browse the repository at this point in the history
…S_CHANGED
  • Loading branch information
pomegranited committed Aug 28, 2024
1 parent 704bb11 commit eb91d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def update_contents(self, request, lib_key_str, pk=None):
count = authoring_api.add_to_collections(collections_qset, contents_qset)

# Emit a CONTENT_OBJECT_TAGS_CHANGED event for each of the objects added/removed
object_ids = contents_qset.values_list("pk", flat=True)
object_ids = contents_qset.values_list("key", flat=True)
for object_id in object_ids:
CONTENT_OBJECT_TAGS_CHANGED.send_event(
content_object=ContentObjectData(object_id=object_id),
Expand Down

0 comments on commit eb91d5d

Please sign in to comment.