Browse Source

Add Commas For Example JSON

when a user copies the example JSON payloads, there is an error just from a missing comma
friedger-patch-7
Jude Giordano 3 years ago
committed by Patrick Gray
parent
commit
240e481af7
  1. 4
      src/pages/build-apps/guides/data-storage.md

4
src/pages/build-apps/guides/data-storage.md

@ -61,7 +61,7 @@ const storage = new Storage({ userSession });
let fileName = 'car.json'; let fileName = 'car.json';
let fileData = { let fileData = {
color: 'blue' color: 'blue',
electric: true, electric: true,
purchaseDate: '2019-04-03', purchaseDate: '2019-04-03',
}; };
@ -143,7 +143,7 @@ Set an additional `app` property within `options` to retrieve data for a user as
```js ```js
const options = { const options = {
app: 'https://example.org' app: 'https://example.org',
username: 'markmhendrickson.id.blockstack', username: 'markmhendrickson.id.blockstack',
}; };
``` ```

Loading…
Cancel
Save