Fixed#7537: Webhook description update is not working (#7548)

This commit is contained in:
Parth Panchal 2022-09-20 10:14:26 +05:30 committed by GitHub
parent ef5c4016f4
commit bfe5710dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,7 @@ public class WebhookPublisher extends AbstractEventPublisher {
public synchronized void updateWebhook(Webhook updatedWebhook) {
currentBackoffTime = BACKOFF_NORMAL;
webhook.setDescription(updatedWebhook.getDescription());
webhook.setTimeout(updatedWebhook.getTimeout());
webhook.setBatchSize(updatedWebhook.getBatchSize());
webhook.setEndpoint(updatedWebhook.getEndpoint());