|
|
@@ -316,7 +316,7 @@ async def modify_institution_controller(
|
|
|
)
|
|
|
old_ids = [str(i) for i in (scope_old.get("owner_id_list") or []) if i]
|
|
|
except Exception:
|
|
|
- log.warning(f"查询旧scope失败,将全量覆盖: institution_id={institution_id}")
|
|
|
+ log.warning(f"查询旧scope失败,将全量覆盖: institution_id={data.get('institution_id', '')}")
|
|
|
|
|
|
new_ids_raw = data.get("scope_owner_id_list") or []
|
|
|
new_ids = [str(i) for i in new_ids_raw if i is not None and str(i).strip()]
|