BO 1.32+2 fcm fix

This commit is contained in:
Tibor Bossanyi (Freelancer) 2021-11-09 21:22:25 +01:00
parent ae07f42e8e
commit 60927674ee

View File

@ -55,7 +55,7 @@ class FCM:
return "Registration token is null" return "Registration token is null"
try: try:
if image_url == None: if image_url == None or self.image_base == None:
notification_image_url = self.logo_url notification_image_url = self.logo_url
else: else:
notification_image_url = self.image_base + '/' + image_url notification_image_url = self.image_base + '/' + image_url