V1.30.8 notification fix
This commit is contained in:
parent
3ddddf906a
commit
95ead3c9d7
@ -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}')
|
||||
|
Loading…
Reference in New Issue
Block a user