diff --git a/fir_ser/api/utils/app/apputils.py b/fir_ser/api/utils/app/apputils.py index c6f0e5d..e8e3331 100644 --- a/fir_ser/api/utils/app/apputils.py +++ b/fir_ser/api/utils/app/apputils.py @@ -157,10 +157,10 @@ def SaveAppInfos(app_file_name, user_obj, appinfo, bundle_id, app_img, short, si "app_id": appmobj, "icon_url": app_img, "release_id": app_file_name.split(".")[0], - "build_version": appinfo.get("version"), - "app_version": appinfo.get("versioncode"), + "build_version": appinfo.get("version","latest"), + "app_version": appinfo.get("versioncode","latest"), "release_type": get_release_type(app_file_name, appinfo), - "minimum_os_version": appinfo.get("miniOSversion", None), + "minimum_os_version": appinfo.get("miniOSversion", 'latest'), "binary_size": size, "is_master": True, "changelog": appinfo.get("changelog", ''),