events: fix missing send_once param from api

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-29 18:58:54 +02:00
parent bffa51f7df
commit a52b57cc38
2 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class NotificationTransportSerializer(ModelSerializer):
"mode",
"mode_verbose",
"webhook_url",
"send_once",
]

View File

@ -15203,6 +15203,11 @@ definitions:
webhook_url:
title: Webhook url
type: string
send_once:
title: Send once
description: Only send notification once, for example when sending a webhook
into a chat channel.
type: boolean
NotificationTransportTest:
description: Notification test serializer
required: