Fix documentation (#253)
This commit is contained in:
parent
9472ac4401
commit
1a08d79454
@ -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);
|
const result = await invoke('deckNames', 6);
|
||||||
console.log(`got list of decks: ${result}`);
|
console.log(`got list of decks: ${result}`);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user