Skip to content

Commit

Permalink
feat: return modified field on get component endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Sep 19, 2024
1 parent ca11c14 commit 1a9cc80
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 1a9cc80

Please sign in to comment.