Skip to content

Commit bd549bd

Browse files
shwstpprLocharla, Sandeep
authored andcommitted
ui: fix test delivery params in create webhook form (apache#12318)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent fa81b4c commit bd549bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/components/view/TestWebhookDeliveryView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export default {
186186
params.payloadUrl = this.payloadUrl
187187
}
188188
if (this.sslVerification) {
189-
params.payload = this.sslVerification
189+
params.sslVerification = this.sslVerification
190190
}
191191
if (this.secretKey) {
192192
params.secretKey = this.secretKey

ui/src/views/tools/CreateWebhook.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<test-webhook-delivery-view
136136
ref="dispatchview"
137137
:payloadUrl="form.payloadurl"
138-
:sslVerification="form.sslverification"
138+
:sslVerification="isPayloadUrlHttps && form.sslverification"
139139
:secretKey="form.secretkey"
140140
:showActions="!(!form.payloadurl)" />
141141
<a-form-item name="state" ref="state">

0 commit comments

Comments
 (0)