notifications
This commit is contained in:
parent
87753785d4
commit
927bae0f3d
@ -224,7 +224,7 @@ def send_expiry_notifications_route(username: str, password: str) -> Response:
|
||||
@requires_basic_auth
|
||||
def send_test_notification_route(username: str, password: str) -> Response:
|
||||
"""Sends a test push notification to all users."""
|
||||
data = request.get_json()
|
||||
data = request.get_json(silent=True)
|
||||
message = data.get("message", "Ktv Test") if data else "Ktv Test"
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user