Skip to content

Commit

Permalink
Use correct data type
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Sep 2, 2020
1 parent 75c7dcd commit b1efba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -152,7 +152,7 @@ function fetchAll(db, last) {
session.end = session.start;
}
insertSession(db,session);
if (session.start > thresholdDate) {
if (moment(session.start, sessionDateFormat) > thresholdDate) {
fetchSession(db,session.link);
}
});
Expand Down

0 comments on commit b1efba8

Please sign in to comment.