mirror of https://github.com/zulip/zulip.git
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:
parent
311a76ed1c
commit
6323fc9571
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue