player ID None
This commit is contained in:
@@ -33,6 +33,9 @@ class NotificationService:
|
||||
)
|
||||
|
||||
def send_notification(self, title, message, player_id):
|
||||
if player_id is None:
|
||||
print("Player ID is None, skipping notification")
|
||||
return
|
||||
notification_payload = {
|
||||
"headings": {"en": title},
|
||||
"contents": {"en": message},
|
||||
|
||||
Reference in New Issue
Block a user