Skip to content

Commit a2b737e

Browse files
authored
fix: typo on a field in webhook event helper (#7440)
1 parent c5f9921 commit a2b737e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/itchy-pandas-punch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
fix: wrong casing on a field in webhook event helper

packages/service-utils/src/node/webhookProducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class WebhookEventProducer {
5151
return {
5252
...event,
5353
// Default to now.
54-
created_at: event.createdAt ?? new Date(),
54+
createdAt: event.createdAt ?? new Date(),
5555
// Default to a generated UUID.
5656
id: event.id ?? `evt_${createId()}`,
5757
};

0 commit comments

Comments
 (0)