Skip to content

Commit

Permalink
Make internal numerical id accessable
Browse files Browse the repository at this point in the history
  • Loading branch information
smoehrle committed Nov 8, 2020
1 parent dfb50ea commit f9039fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions janus/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def generate_json_data(self, user, application):

data = {
'id': user.username,
'internal_id': user.id,
'first_name': user.first_name,
'last_name': user.last_name,
'name': user.first_name + ' ' + user.last_name,
Expand Down

0 comments on commit f9039fe

Please sign in to comment.