change language to json in code blocks

pull/977/head
Hubert Chathi 6 years ago
parent e9aa4081bc
commit d9eddcf7df

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

Loading…
Cancel
Save