Method
fetch_webhook
(
self,
webhook_id: int,
token: str,
*,
session: Session,
)
Source from the content-addressed store, hash-verified
| 363 | return self.request(route, session, params=params) |
| 364 | |
| 365 | def fetch_webhook( |
| 366 | self, |
| 367 | webhook_id: int, |
| 368 | token: str, |
| 369 | *, |
| 370 | session: Session, |
| 371 | ) -> WebhookPayload: |
| 372 | route = Route('GET', '/webhooks/{webhook_id}', webhook_id=webhook_id) |
| 373 | return self.request(route, session=session, auth_token=token) |
| 374 | |
| 375 | def fetch_webhook_with_token( |
| 376 | self, |
Tested by
no test coverage detected