fix: filter out installed apps without an app (#7799)

This commit is contained in:
YidaHu 2024-08-29 19:03:08 +08:00 committed by GitHub
parent f0273f00e1
commit bd6d4d0553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@ class InstalledAppsListApi(Resource):
"uninstallable": current_tenant_id == installed_app.app_owner_tenant_id, "uninstallable": current_tenant_id == installed_app.app_owner_tenant_id,
} }
for installed_app in installed_apps for installed_app in installed_apps
if installed_app.app is not None
] ]
installed_apps.sort( installed_apps.sort(
key=lambda app: ( key=lambda app: (