pull/20785/head
hjlarry 12 months ago
parent ae1672d600
commit 88ac5368d8

@ -52,10 +52,10 @@ class AppAccessMode(Resource):
app_id = args.get("appId") app_id = args.get("appId")
app_code = args.get("appCode") app_code = args.get("appCode")
if not app_id and not app_code: if not app_id and not app_code:
return {"error": "Missing appId or appCode in query"}, 400 return {"error": "Missing appId or appCode in query"}, 400
if app_id: if app_id:
res = EnterpriseService.WebAppAuth.get_app_access_mode_by_id(app_id) res = EnterpriseService.WebAppAuth.get_app_access_mode_by_id(app_id)
else: else:

Loading…
Cancel
Save