diff --git a/aitrainer_backoffice/controlling/automation/notification.py b/aitrainer_backoffice/controlling/automation/notification.py index d9f5cfd..56030fa 100644 --- a/aitrainer_backoffice/controlling/automation/notification.py +++ b/aitrainer_backoffice/controlling/automation/notification.py @@ -22,9 +22,9 @@ class Notification: if hook_sql == None: customers = getattr(hook, hook_function)() else: - print(f'execute {hook_function} with sql {hook_sql}') customers = getattr(hook, hook_function)(hook_sql) + print(f' --- Count of notifying customers: {len(list(customers))} --- ') for customer in customers: if customer.firebase_reg_token != None and customer.customer_id != None: print(f'-- Notify Customer {customer.customer_id}')