Documentation fixes.
Ylian Saint-Hilaire committed
Nov 1, 2022 at 13:00 UTC
275cc04e038f26b72e33bf66303bb87fa6310da6
3 files changed
+7
-4
docs/docs/messaging/index.md
+3
-2
@@ -185,8 +185,9 @@ You can enable the MeshCentral [Zulip](https://zulip.com/) integration with the
185
```json
186
{
187
"messaging": {
188
- email: "your-bot@zulip.com",
189
- api_key: "your_32_character_api_key"
188
+ "site": "https://api.zulip.com",
189
+ "email": "your-bot@zulip.com",
190
+ "api_key": "your_32_character_api_key"
191
}
192
}
193
```
meshcentral-config-schema.json
+1
@@ -1421,6 +1421,7 @@
1421
"zulip": {
1422
"type": "object",
1423
"properties": {
1424
+ "site": { "type": "string", "format": "uri", "default": "https://api.zulip.com", "description": "URL to the Zulip server"},
1425
"email": { "type": "string", "description": "Bot email address to login as." },
1426
"api_key": { "type": "string", "description": "Bot api key." }
1427
},
meshmessaging.js
+3
-2
@@ -81,8 +81,9 @@
81
// For zulip
82
{
83
"messaging": {
84
- email: "your-bot@zulip.com",
85
- api_key: "your_32_character_api_key"
84
+ "site": "https://api.zulip.com",
85
+ "email": "your-bot@zulip.com",
86
+ "api_key": "your_32_character_api_key"
87
}
88
}
89