From d3603209c7f8ac2ddf392915001c45db467c9ff4 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Wed, 4 Oct 2023 22:13:07 -0400 Subject: [PATCH] Fix field name --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e13f70a..75d61db 100644 --- a/app.py +++ b/app.py @@ -133,7 +133,7 @@ def create_app(config_name): } } - message = {"title": "Subscription Successful", "body": "Thank you for subscribing!"} + message = {"title": "Subscription Successful", "message": "Thank you for subscribing!"} success = send_push_notification(subscription_info, message, vapid_key) return jsonify(success=success, message=vapid_key.private_key)