mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
chore: update readme with correct example
This commit is contained in:
parent
928a9f76f5
commit
6b5d0a2228
1 changed files with 2 additions and 3 deletions
|
|
@ -13,9 +13,8 @@ async function main() {
|
||||||
await client.init();
|
await client.init();
|
||||||
console.log(
|
console.log(
|
||||||
await client.getBehaviour({
|
await client.getBehaviour({
|
||||||
displayDate: "due_date",
|
from: "2020-12-23",
|
||||||
fromDate: "20/01/2000",
|
to: "2022-03-09",
|
||||||
toDate: "01/02/2000",
|
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
console.log(await client.getActivity());
|
console.log(await client.getActivity());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue