Update routes/sendnotifications.py
Browse files
routes/sendnotifications.py
CHANGED
@@ -209,7 +209,7 @@ async def send_notification(
|
|
209 |
image_url = post_info["image_url"]
|
210 |
elif data.keyword == "subscriber":
|
211 |
title = "💼 New Subscriber!"
|
212 |
-
body = f"{actor_name} just subscribed to your styling services.
|
213 |
image_url = None
|
214 |
else:
|
215 |
raise HTTPException(status_code=400, detail="Unsupported keyword")
|
|
|
209 |
image_url = post_info["image_url"]
|
210 |
elif data.keyword == "subscriber":
|
211 |
title = "💼 New Subscriber!"
|
212 |
+
body = f"{actor_name} just subscribed to your styling services."
|
213 |
image_url = None
|
214 |
else:
|
215 |
raise HTTPException(status_code=400, detail="Unsupported keyword")
|