Skip to content

Commit 3bed182

Browse files
author
Dena Mwangi
authored
Include lastactive in User serializer (#5674)
1 parent ab91f78 commit 3bed182

File tree

1 file changed

+1
-0
lines changed
  • src/sentry/api/serializers/models

1 file changed

+1
-0
lines changed

src/sentry/api/serializers/models/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def serialize(self, obj, attrs, user):
7272
'dateJoined': obj.date_joined,
7373
'lastLogin': obj.last_login,
7474
'has2fa': attrs['has2fa'],
75+
'lastActive': obj.last_active,
7576
}
7677

7778
if obj == user:

0 commit comments

Comments
 (0)