Skip to content

Commit

Permalink
feat: return publishing information on get component endpoint [FC-006…
Browse files Browse the repository at this point in the history
…2] (#35476)* feat: return publishing information on get component endpoinfeat: return modified field on get component endpoint
  • Loading branch information
rpenido committed Sep 19, 2024
1 parent ca11c14 commit 3fc99c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openedx/core/djangoapps/content_libraries/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ class LibraryXBlockMetadataSerializer(serializers.Serializer):
last_draft_created_by = serializers.CharField(read_only=True)
has_unpublished_changes = serializers.BooleanField(read_only=True)
created = serializers.DateTimeField(format=DATETIME_FORMAT, read_only=True)
modified = serializers.DateTimeField(format=DATETIME_FORMAT, read_only=True)

# When creating a new XBlock in a library, the slug becomes the ID part of
# the definition key and usage key:
Expand Down

0 comments on commit 3fc99c5

Please sign in to comment.