Skip to content

Commit

Permalink
Merge pull request #2 from fachschaft/numeric_id
Browse files Browse the repository at this point in the history
Make internal numerical id accessable
  • Loading branch information
aritas1 authored Nov 9, 2020
2 parents dfb50ea + f9039fe commit 8701294
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 8701294

Please sign in to comment.