Skip to content

Commit

Permalink
fixed otp data not displaying on the frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntelfer committed Oct 18, 2018
1 parent 8e177cc commit ccb12a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/didery/static/transcrypt/components/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ def _getField(self, obj, field):
"""

if field.name == "did":
return obj.id
return obj.otp_data.id
elif field.name == "blob":
return obj.blob
return obj.otp_data.blob

# ================================================== #

Expand Down Expand Up @@ -487,4 +487,4 @@ def _getField(self, obj, field):

# ================================================== #
# EOF #
# ================================================== #
# ================================================== #

0 comments on commit ccb12a6

Please sign in to comment.