[fix] integration scheduler events
This commit is contained in:
parent
b2908df91b
commit
910e44fcba
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ def get_scheduler_events(event):
|
|||
if not scheduler_events:
|
||||
scheduler_events = frappe.get_hooks("scheduler_events")
|
||||
integration_events = get_integration_service_events()
|
||||
for key, handlers in integration_events:
|
||||
for key, handlers in integration_events.items():
|
||||
scheduler_events.setdefault(key, []).extend(handlers)
|
||||
frappe.cache().set_value('scheduler_events', scheduler_events)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue