corrected android name
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -503,7 +503,7 @@ class IAmPrincipalLocation(BaseModel):
|
||||
|
||||
|
||||
class AppType(models.TextChoices):
|
||||
ANDROID = "adroid", "android"
|
||||
ANDROID = "android", "android"
|
||||
IOS = "ios", "ios"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user