diff --git a/lib/pact_broker/api/decorators/triggered_webhook_decorator.rb b/lib/pact_broker/api/decorators/triggered_webhook_decorator.rb index 4cbc06136..8d54081d5 100644 --- a/lib/pact_broker/api/decorators/triggered_webhook_decorator.rb +++ b/lib/pact_broker/api/decorators/triggered_webhook_decorator.rb @@ -10,8 +10,7 @@ class TriggeredWebhookDecorator < BaseDecorator property :number_of_attempts_remaining, as: :attemptsRemaining property :trigger_type, as: :triggerType property :event_name, as: :eventName - - property :created_at, as: :triggeredAt + property :created_at, as: :triggeredAt, getter: lambda { |_| FormatDateTime.call(created_at) }, writeable: false link :'pb:logs' do | context | {