Fix missing SETUP_COMPLETE key causing 500
This commit is contained in:
parent
23d8ecc3cc
commit
3ecc6574ae
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class SuperUserRegistryStatus(ApiResource):
|
|||
}
|
||||
|
||||
config = config_provider.get_config()
|
||||
if config and config['SETUP_COMPLETE']:
|
||||
if config and config.get('SETUP_COMPLETE'):
|
||||
return {
|
||||
'status': 'config'
|
||||
}
|
||||
|
|
Reference in a new issue