mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
fixed webhook format issue
This commit is contained in:
parent
f631c1757b
commit
8321318143
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue