Skip to content

Commit

Permalink
chore: format webhook triggeredAt consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jun 3, 2022
1 parent 1f3dcc8 commit 13071e4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
{
Expand Down

0 comments on commit 13071e4

Please sign in to comment.