From fb38b856122842c75fafbab941b6d6ccf4d88d89 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Wed, 17 Jan 2024 08:29:35 +1100 Subject: [PATCH] chore: make webhook uuid not writeable in decorator --- lib/pact_broker/api/decorators/webhook_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/api/decorators/webhook_decorator.rb b/lib/pact_broker/api/decorators/webhook_decorator.rb index aad276dac..348b70931 100644 --- a/lib/pact_broker/api/decorators/webhook_decorator.rb +++ b/lib/pact_broker/api/decorators/webhook_decorator.rb @@ -16,7 +16,7 @@ class WebhookEventDecorator < BaseDecorator property :name end - property :uuid + property :uuid, writeable: false property :description, getter: lambda { |represented:, **| represented.display_description }