mirror of https://github.com/portainer/portainer
fixed webhook format issue
parent
f631c1757b
commit
8321318143
|
@ -122,7 +122,7 @@ class KubernetesDeployController {
|
|||
payload.AutoUpdate.Interval = this.formValues.RepositoryFetchInterval;
|
||||
metadata['automatic-updates'] = 'polling';
|
||||
} else if (this.formValues.RepositoryMechanism === `Webhook`) {
|
||||
payload.AutoUpdate.Webhook = this.formValues.RepositoryWebhookURL;
|
||||
payload.AutoUpdate.Webhook = this.formValues.RepositoryWebhookURL.split('/').reverse()[0];
|
||||
metadata['automatic-updates'] = 'webhook';
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue