Update app.py
Browse files
app.py
CHANGED
@@ -2258,9 +2258,14 @@ def serve_html_vk(filename):
|
|
2258 |
# Получаем параметры из GET-запроса
|
2259 |
apps_id = request.args.get('apps_id')
|
2260 |
base_url = request.args.get('fullUrl')
|
|
|
2261 |
vk_app_id = request.args.get('vk_app_id')
|
2262 |
vk_are_notifications_enabled = request.args.get('vk_are_notifications_enabled')
|
2263 |
vk_is_app_user = request.args.get('vk_is_app_user')
|
|
|
|
|
|
|
|
|
2264 |
logging.debug(f"Received params: apps_id={apps_id}, vk_are_notifications_enabled={vk_are_notifications_enabled}, vk_is_app_user={vk_is_app_user}")
|
2265 |
|
2266 |
|
@@ -2268,7 +2273,8 @@ def serve_html_vk(filename):
|
|
2268 |
params = {
|
2269 |
'vk_app_id': vk_app_id,
|
2270 |
'vk_are_notifications_enabled': vk_are_notifications_enabled,
|
2271 |
-
'vk_is_app_user': vk_is_app_user
|
|
|
2272 |
}
|
2273 |
|
2274 |
|
|
|
2258 |
# Получаем параметры из GET-запроса
|
2259 |
apps_id = request.args.get('apps_id')
|
2260 |
base_url = request.args.get('fullUrl')
|
2261 |
+
|
2262 |
vk_app_id = request.args.get('vk_app_id')
|
2263 |
vk_are_notifications_enabled = request.args.get('vk_are_notifications_enabled')
|
2264 |
vk_is_app_user = request.args.get('vk_is_app_user')
|
2265 |
+
vk_is_favorite = request.args.get('vk_is_favorite')
|
2266 |
+
|
2267 |
+
|
2268 |
+
|
2269 |
logging.debug(f"Received params: apps_id={apps_id}, vk_are_notifications_enabled={vk_are_notifications_enabled}, vk_is_app_user={vk_is_app_user}")
|
2270 |
|
2271 |
|
|
|
2273 |
params = {
|
2274 |
'vk_app_id': vk_app_id,
|
2275 |
'vk_are_notifications_enabled': vk_are_notifications_enabled,
|
2276 |
+
'vk_is_app_user': vk_is_app_user,
|
2277 |
+
"vk_is_favorite": vk_is_favorite
|
2278 |
}
|
2279 |
|
2280 |
|