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 20, 2024
1 parent c71414a commit 6446f71
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 6446f71

Please sign in to comment.