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:
parent
8609ff4ba6
commit
ecbbc4777b
5 changed files with 24 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue