Fix documentation (#253)

This commit is contained in:
DegrangeM 2021-05-06 07:31:26 +02:00 committed by GitHub
parent 9472ac4401
commit 1a08d79454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ function invoke(action, version, params={}) {
});
}
await invoke('createDeck', {deck: 'test1'});
await invoke('createDeck', 6, {deck: 'test1'});
const result = await invoke('deckNames', 6);
console.log(`got list of decks: ${result}`);
```