result=WebPushService._send_push_notification(subscription_info,{"title":"Test Notification","message":"This is a test notification"},vapid_key)
result=WebPushService._send_push_notification(subscription_info,{"title":"Test Notification","message":"This is a test notification"},vapid_key.private_key)
returnjsonify(result)
returnjsonify(result)
else:
else:
returnjsonify({"success":False,"message":"Subscription not found"}),404
returnjsonify({"success":False,"message":"Subscription not found"}),404