From c7d221e41120918122b9a7de23b193303bcd5043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Mon, 16 Sep 2024 14:13:36 -0300 Subject: [PATCH] fix: last_draft_created_by attr type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Chris Chávez --- openedx/core/djangoapps/content_libraries/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/content_libraries/api.py b/openedx/core/djangoapps/content_libraries/api.py index 87325301866b..e6a0500c21ff 100644 --- a/openedx/core/djangoapps/content_libraries/api.py +++ b/openedx/core/djangoapps/content_libraries/api.py @@ -219,7 +219,7 @@ class LibraryXBlockMetadata: display_name = attr.ib("") last_published = attr.ib(default=None, type=datetime) last_draft_created = attr.ib(default=None, type=datetime) - last_draft_created_by = attr.ib(default=None, type=datetime) + last_draft_created_by = attr.ib("") published_by = attr.ib("") has_unpublished_changes = attr.ib(False) tags_count = attr.ib(0)