1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 19:59:37 +00:00

chore: update readme with correct example

This commit is contained in:
James Cook 2022-03-09 21:16:25 +00:00
parent 928a9f76f5
commit 6b5d0a2228

View file

@ -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());