Fix missing import for _log_admin_event in routes_customers
Added explicit import for _log_admin_event function which is needed for customer export/import audit logging. Functions with underscore prefix are not automatically imported by 'from .routes_shared import *'. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c88f74a4bf
commit
88aead460f
@ -1,4 +1,5 @@
|
|||||||
from .routes_shared import * # noqa: F401,F403
|
from .routes_shared import * # noqa: F401,F403
|
||||||
|
from .routes_shared import _log_admin_event
|
||||||
|
|
||||||
# Explicit imports for robustness across mixed deployments.
|
# Explicit imports for robustness across mixed deployments.
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user