Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2259,15 +2259,7 @@ def serve_html_vk(filename):
|
|
2259 |
vk_are_notifications_enabled = request.args.get('vk_are_notifications_enabled')
|
2260 |
vk_is_app_user = request.args.get('vk_is_app_user')
|
2261 |
|
2262 |
-
# Параметры запроса
|
2263 |
-
params = {
|
2264 |
-
'vk_app_id': vk_app_id,
|
2265 |
-
'vk_are_notifications_enabled': vk_are_notifications_enabled,
|
2266 |
-
'vk_is_app_user': vk_is_app_user
|
2267 |
-
}
|
2268 |
|
2269 |
-
# Формирование URL с использованием f-строк
|
2270 |
-
fullUrl = f"{base_url}?{'&'.join([f'{key}={value}' for key, value in params.items()])}"
|
2271 |
|
2272 |
logging.debug(f"Received params: apps_id={apps_id}")
|
2273 |
logging.debug(f"Received params: fullUrl={fullUrl}")
|
|
|
2259 |
vk_are_notifications_enabled = request.args.get('vk_are_notifications_enabled')
|
2260 |
vk_is_app_user = request.args.get('vk_is_app_user')
|
2261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2262 |
|
|
|
|
|
2263 |
|
2264 |
logging.debug(f"Received params: apps_id={apps_id}")
|
2265 |
logging.debug(f"Received params: fullUrl={fullUrl}")
|