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",
"mode_verbose", "mode_verbose",
"webhook_url", "webhook_url",
"send_once",
] ]

View file

@ -15203,6 +15203,11 @@ definitions:
webhook_url: webhook_url:
title: Webhook url title: Webhook url
type: string 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: NotificationTransportTest:
description: Notification test serializer description: Notification test serializer
required: required: