fix(arch-038,arch-054): register_event_handlers hook in BasePlugin; entity model lookup matches registry shape
Check Cross-Plugin Imports / check (push) Has been cancelled
Check Cross-Plugin Imports / check (push) Has been cancelled
This commit is contained in:
@@ -111,7 +111,7 @@ async def _check_entity_ownership(
|
||||
detail={"detail": f"Unknown entity type: {entity_type}", "code": "not_found"},
|
||||
)
|
||||
|
||||
model = model_info["model"]
|
||||
model = model_info # ENTITY_MODELS maps directly to model classes
|
||||
try:
|
||||
eid = uuid.UUID(entity_id)
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user