diff --git a/aitrainer_backoffice/controlling/automation/fcm.py b/aitrainer_backoffice/controlling/automation/fcm.py index ba571af..65b31fd 100644 --- a/aitrainer_backoffice/controlling/automation/fcm.py +++ b/aitrainer_backoffice/controlling/automation/fcm.py @@ -55,7 +55,7 @@ class FCM: return "Registration token is null" try: - if image_url == None: + if image_url == None or self.image_base == None: notification_image_url = self.logo_url else: notification_image_url = self.image_base + '/' + image_url