Browse Source

docs: fixes based on feedback

friedger-patch-1
Alexander Graebe 4 years ago
committed by Alexander Graebe
parent
commit
b940d4d18b
  1. 4
      .vale/styles/Vocab/docs/accept.txt
  2. 8
      src/pages/data-storage/storage-guide.md

4
.vale/styles/Vocab/docs/accept.txt

@ -0,0 +1,4 @@
Stacks
Bitcoin
STX
BTC

8
src/pages/data-storage/storage-guide.md

@ -25,8 +25,8 @@ const storage = new Storage({ userSession });
const options: PutFileOptions = {
encrypt: false,
};
userSession.putFile('hello.txt', 'hello world!', options).then(() => {
// hello.txt exists now, and has the contents "hello world!."
userSession.putFile('hello.txt', 'hello world', options).then(() => {
// hello.txt exists now, and has the contents "hello world"
});
```
@ -42,8 +42,8 @@ const options: PutFileOptions = {
encrypt: true,
};
userSession.putFile('message.txt', 'Secret hello!', options).then(() => {
// message.txt exists now, and has the contents "hello world!."
userSession.putFile('message.txt', 'Secret hello', options).then(() => {
// message.txt exists now, and has the contents "Secret hello"
});
```

Loading…
Cancel
Save