Skip to content

Commit fece720

Browse files
fix(backend): Declare slug property in sms.created webhook event (#4024)
Co-authored-by: Bryce Kalow <bryce@clerk.dev>
1 parent c9ef591 commit fece720

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/fair-worms-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/backend": patch
3+
---
4+
5+
Add missing `slug` property in TS type declaration for SMS webhook events

packages/backend/src/api/resources/JSON.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export interface SMSMessageJSON extends ClerkResourceJSON {
272272
user_id?: string;
273273
message: string;
274274
status: string;
275+
slug?: string | null;
275276
data?: Record<string, any> | null;
276277
delivered_by_clerk: boolean;
277278
}

0 commit comments

Comments
 (0)