From 7043e9bcf43bdfad396a93780592324455e02ea2 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Tue, 21 May 2024 16:34:12 +0530 Subject: [PATCH] appVersion --- accounts/api/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/api/views.py b/accounts/api/views.py index 4a18f49..0b9cc35 100644 --- a/accounts/api/views.py +++ b/accounts/api/views.py @@ -958,8 +958,8 @@ class VersionCheck(APIView): permission_classes = [] def get(self, request, *args, **kwargs): - app_version = request.query_params.get("appVersion", None) - app_type = request.query_params.get("type", None) + app_version = request.GET.get("appVersion", None) + app_type = request.GET.get("type", None) # Query the database to retrieve the upgrade flags based on the app version try: