reverse code not seperating trial_mode_services

This commit is contained in:
venusbb
2017-10-02 14:26:08 +01:00
parent 7b12b7e03d
commit 33a2909a76
2 changed files with 25 additions and 40 deletions

View File

@@ -22,7 +22,6 @@ def platform_admin():
api_args = {'detailed': True,
'only_active': False, # specifically DO get inactive services
'include_from_test_key': form.include_from_test_key.data,
'trial_mode_services': None
}
if form.start_date.data:
@@ -48,7 +47,6 @@ def platform_admin_services():
api_args = {'detailed': True,
'only_active': False, # specifically DO get inactive services
'include_from_test_key': form.include_from_test_key.data,
'trial_mode_services': request.endpoint == 'main.trial_services'
}
if form.start_date.data: