client: fix editing webhooks

Co-authored-by: hayabusa <s.hashimoto@hs-sh.net>
Changelog: Fixed
This commit is contained in:
Johann150 2022-11-20 11:26:22 +01:00
parent b7f32be512
commit 0e0411f9e0
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -70,6 +70,7 @@ async function save(): Promise<void> {
if (event_mention) events.push('mention');
os.apiWithDialog('i/webhooks/update', {
webhookId: webhook.id,
name,
url,
secret,