Skip to content

Commit

Permalink
fix(backend): Declare slug property in sms.created webhook event (#…
Browse files Browse the repository at this point in the history
…4024)

Co-authored-by: Bryce Kalow <bryce@clerk.dev>
  • Loading branch information
tmoran-stenoa and BRKalow authored Aug 29, 2024
1 parent c9ef591 commit fece720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-worms-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/backend": patch
---

Add missing `slug` property in TS type declaration for SMS webhook events
1 change: 1 addition & 0 deletions packages/backend/src/api/resources/JSON.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ export interface SMSMessageJSON extends ClerkResourceJSON {
user_id?: string;
message: string;
status: string;
slug?: string | null;
data?: Record<string, any> | null;
delivered_by_clerk: boolean;
}
Expand Down

0 comments on commit fece720

Please sign in to comment.