API - it returns if user accepted to last privacy policy

This commit is contained in:
Sam
2023-02-26 09:07:02 +01:00
parent f37cecec78
commit 1c1d2a77b7
3 changed files with 46 additions and 7 deletions

View File

@ -35,6 +35,7 @@ def update_app_config_from_database(
current_app.config[
'is_registration_enabled'
] = db_config.is_registration_enabled
current_app.config['privacy_policy_date'] = db_config.privacy_policy_date
def verify_app_config(config_data: Dict) -> List: