You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bd442c8
Browse filesBrowse the repository at this point in the historyBrowse files
[Refactor] Extract asWebhookSubscription helper in extension-instance
buildHandle and buildUIDFromStrategy each duplicated the same
'topic' in config && 'uri' in config guard followed by an
unchecked cast to SingleWebhookSubscriptionType. Extract that
detection and cast into a single helper returning the typed
subscription or undefined, and use an early return in both
dynamic branches to drop a level of nesting.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments