In the webhooks library, the saveResponseException method in the WebhookPersister class was not setting the createdAt property value, causing the value to remain as null when the entity was persisted.
In this PR, this has been updated to set a creation date, and the WebhookPersisterTest has also been updated to check the value.
In the webhooks library, the
saveResponseException
method in theWebhookPersister
class was not setting thecreatedAt
property value, causing the value to remain asnull
when the entity was persisted.In this PR, this has been updated to set a creation date, and the
WebhookPersisterTest
has also been updated to check the value.Related ticket: https://eonx.atlassian.net/browse/PYMT-1379 Related issue: https://github.com/loyaltycorp/webhooks/issues/35