Skip to content

Commit b248df6

Browse files
committed
fix: bug introduced by some previous conflict merge
These container events take LibraryContainerLocators, not strings.
1 parent 4a9f5a9 commit b248df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openedx/core/djangoapps/content_libraries/api/containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def restore_container(container_key: LibraryContainerLocator) -> None:
343343

344344
LIBRARY_CONTAINER_CREATED.send_event(
345345
library_container=LibraryContainerData(
346-
container_key=str(container_key),
346+
container_key=container_key,
347347
)
348348
)
349349

0 commit comments

Comments
 (0)