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

fix: client getting logged out (#18)

This commit is contained in:
James Cook 2022-09-23 19:40:32 +01:00 committed by GitHub
parent 8609ff4ba6
commit ecbbc4777b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 8 deletions

View file

@ -22,7 +22,7 @@ test("client returns activity data", () => {
test("client returns full activity", () => {
return client
.getFullActivity({ from: "2000-01-01", to: "2022-01-01" })
.getFullActivity({ from: "2022-01-01", to: "2022-09-01" })
.then((data) => {
let valid = false;
if (data.length > 50) valid = true;