diff --git a/accounts/api/views.py b/accounts/api/views.py index 0b9cc35..b745fbf 100644 --- a/accounts/api/views.py +++ b/accounts/api/views.py @@ -961,10 +961,13 @@ class VersionCheck(APIView): app_version = request.GET.get("appVersion", None) app_type = request.GET.get("type", None) + print(f"app verisino {app_version} {app_type}") + # Query the database to retrieve the upgrade flags based on the app version try: version = AppVersion.objects.get(version=app_version, app_type=app_type) except AppVersion.DoesNotExist: + print("does not exist") version = None if version: diff --git a/accounts/models.py b/accounts/models.py index e1a7b2d..c3f5508 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -503,7 +503,7 @@ class IAmPrincipalLocation(BaseModel): class AppType(models.TextChoices): - ANDROID = "adroid", "android" + ANDROID = "android", "android" IOS = "ios", "ios"