Update apps.py

This commit is contained in:
qiaofeng1227 2023-04-16 23:37:51 +08:00 committed by GitHub
parent 2535b82299
commit cff50f3ed4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ def AppList(request: Request, app_id: Optional[str] = Query(default=None, descri
get_headers(request)
app_list = manage.get_my_app(app_id)
myLogger.info_logger(len(app_list))
response = JsonResponse({'ResponseData': app_list})
response = JSONResponse({'ResponseData': app_list})
except CommandException as ce:
ret = {}
ret['ResponseData'] = None