player ID None

This commit is contained in:
rizwanisready
2024-05-08 19:58:04 +05:30
parent 96c5d9f743
commit 64cf2d6815

View File

@@ -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},