Browse Source

Fix field name

pull/1/head
Matthew Raymer 1 year ago
parent
commit
d3603209c7
  1. 2
      app.py

2
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) success = send_push_notification(subscription_info, message, vapid_key)
return jsonify(success=success, message=vapid_key.private_key) return jsonify(success=success, message=vapid_key.private_key)

Loading…
Cancel
Save