Skip to content

Commit 9180c8c

Browse files
committed
fix: add missing WebhookStatus
1 parent df2d23b commit 9180c8c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

resend/webhooks/_webhook.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
from typing_extensions import TypedDict
44

5+
from resend.webhooks._webhooks import WebhookStatus
6+
57

68
class Webhook(TypedDict):
79
"""
@@ -29,7 +31,7 @@ class Webhook(TypedDict):
2931
"""
3032
When the webhook was created (ISO 8601 format)
3133
"""
32-
status: str
34+
status: WebhookStatus
3335
"""
3436
The webhook status, either "enabled" or "disabled"
3537
"""

0 commit comments

Comments
 (0)