Parcourir la source

Merge pull request #885 from MarcProe/fix-webhook-docs

fix wrong json parameter in webhook documentation
pull/891/head
Slavi Pantaleev il y a 5 ans
committed by GitHub
Parent
révision
1c4d914073
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      docs/configuring-playbook-bridge-appservice-webhooks.md

+ 2
- 2
docs/configuring-playbook-bridge-appservice-webhooks.md Voir le fichier

@@ -45,7 +45,7 @@ matrix_appservice_webhooks_log_level: '<log_level>'
"text": "Hello world!", "text": "Hello world!",
"format": "plain", "format": "plain",
"displayName": "My Cool Webhook", "displayName": "My Cool Webhook",
"avatarUrl": "http://i.imgur.com/IDOBtEJ.png"
"avatar_url": "http://i.imgur.com/IDOBtEJ.png"
} }
``` ```


@@ -57,7 +57,7 @@ curl --header "Content-Type: application/json" \
"text": "Hello world!", "text": "Hello world!",
"format": "plain", "format": "plain",
"displayName": "My Cool Webhook", "displayName": "My Cool Webhook",
"avatarUrl": "http://i.imgur.com/IDOBtEJ.png"
"avatar_url": "http://i.imgur.com/IDOBtEJ.png"
}' \ }' \
<the link you've gotten in 5.> <the link you've gotten in 5.>
``` ```

Chargement…
Annuler
Enregistrer