mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
api_docs: Fix outdated python code snippet for webhook integrations.
The python code snippet referred to exactly doesn't exists. This commit changes it to the exact code present in "zerver/lib/integrations.py", which has a type annotation.
This commit is contained in:
@@ -185,7 +185,7 @@ to a URL. This is done in `zerver/lib/integrations.py`.
|
||||
Look for the lines beginning with:
|
||||
|
||||
```python
|
||||
WEBHOOK_INTEGRATIONS = [
|
||||
WEBHOOK_INTEGRATIONS: List[WebhookIntegration] = [
|
||||
```
|
||||
|
||||
And you'll find the entry for Hello World:
|
||||
|
Reference in New Issue
Block a user