Skip to content

Commit

Permalink
fix: added timestamp in last_updated_date field in enterprise enrollm…
Browse files Browse the repository at this point in the history
…ents API
  • Loading branch information
jajjibhai008 committed Jan 21, 2025
1 parent 367c040 commit 0be0992
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Unreleased

=========================

[10.7.3] - 2025-01-21
---------------------
* Fix: added timestamp in last_updated_date field in enterprise enrollments API

[10.7.2] - 2025-01-16
---------------------
* Fixed duplicate entries for groups in enterprise groups API
Expand Down
2 changes: 1 addition & 1 deletion enterprise_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Enterprise data api application. This Django app exposes API endpoints used by enterprises.
"""

__version__ = "10.7.2"
__version__ = "10.7.3"
2 changes: 1 addition & 1 deletion enterprise_data/api/v1/views/enterprise_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get(self, request, enterprise_id):
'completions': completions,
'hours': hours,
'sessions': sessions,
'last_updated_at': last_updated_at.date() if last_updated_at else None,
'last_updated_at': last_updated_at if last_updated_at else None,
'min_enrollment_date': min_enrollment_date,
'max_enrollment_date': max_enrollment_date,
},
Expand Down

0 comments on commit 0be0992

Please sign in to comment.