Commit new DB changes and make sure the metadata is always present in some form
This commit is contained in:
parent
389c88a7c4
commit
11176215e1
2 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def user_view(user):
|
||||||
try:
|
try:
|
||||||
metadata = json.loads(login.metadata_json)
|
metadata = json.loads(login.metadata_json)
|
||||||
except:
|
except:
|
||||||
metadata = None
|
metadata = {}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'service': login.service.name,
|
'service': login.service.name,
|
||||||
|
|
Binary file not shown.
Reference in a new issue