fix: ingest url had type mismatch

This commit is contained in:
Nicholas Tindle 2025-01-06 16:17:45 -06:00
parent 2a5f3d167d
commit 2ea61f8b65
No known key found for this signature in database
GPG Key ID: C4A2154D91363A47
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ class BaseWebhooksManager(ABC, Generic[WT]):
id = str(uuid4())
secret = secrets.token_hex(32)
provider_name = self.PROVIDER_NAME
ingress_url = webhook_ingress_url(provider_name=provider_name, webhook_id=id)
provider_name: ProviderName = self.PROVIDER_NAME
ingress_url = webhook_ingress_url(provider_name=provider_name.value, webhook_id=id)
if register:
if not credentials:
raise TypeError("credentials are required if register = True")