Spaces:
Sleeping
Sleeping
Update push_notification.py
Browse files- push_notification.py +1 -1
push_notification.py
CHANGED
@@ -22,7 +22,7 @@ class PushNotificationTool(Tool):
|
|
22 |
inputs = ["text", "text"]
|
23 |
outputs = []
|
24 |
|
25 |
-
def __call__(self, token, message):
|
26 |
try:
|
27 |
# Replace 'your_expo_token' with your actual Expo push notification token
|
28 |
response = PushClient().publish(
|
|
|
22 |
inputs = ["text", "text"]
|
23 |
outputs = []
|
24 |
|
25 |
+
def __call__(self, token:str, message:str):
|
26 |
try:
|
27 |
# Replace 'your_expo_token' with your actual Expo push notification token
|
28 |
response = PushClient().publish(
|