This commit is contained in:
Parsa Nazer
2025-02-17 01:02:23 +03:30
parent e1c7204bd2
commit 72932e6272
+1 -1
View File
@@ -151,7 +151,7 @@ class PushSubscription(models.Model):
def __str__(self):
return f'{self.user} push'
def send_notif(self, title, body, icon=''):
def send_notif(self, title, body, icon):
payload = {
"title": title,
"body": body,