change language to json in code blocks

pull/1756/head
Hubert Chathi 7 years ago
parent e9aa4081bc
commit d9eddcf7df

@ -64,7 +64,7 @@ API to create new virtual device:
returns returns
``` javascript ``` json
{ {
"device_id": "ABCDEFG" "device_id": "ABCDEFG"
} }
@ -75,7 +75,7 @@ Send public key using `/keys/upload` as a normal device, but with a special
`POST /keys/upload` `POST /keys/upload`
``` javascript ``` json
{ {
"device_keys": { "device_keys": {
"user_id": "@alice:example.com", "user_id": "@alice:example.com",

Loading…
Cancel
Save