diff --git a/fir_ser/api/utils/app/apputils.py b/fir_ser/api/utils/app/apputils.py index e8e3331..0304267 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","latest"), - "app_version": appinfo.get("versioncode","latest"), + "build_version": str(appinfo.get("version", "latest")), + "app_version": str(appinfo.get("versioncode", "latest")), "release_type": get_release_type(app_file_name, appinfo), - "minimum_os_version": appinfo.get("miniOSversion", 'latest'), + "minimum_os_version": str(appinfo.get("miniOSversion", "latest")), "binary_size": size, "is_master": True, "changelog": appinfo.get("changelog", ''),