Skip to content

Commit

Permalink
Updating line instead of removing it
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjbryant committed Jan 11, 2024
1 parent 22b3411 commit 965dda3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sources/librelinkup.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ function linkUpSource (opts, axios) {
var { status, data, ticket } = payload;
var batch = data;
// TODO: TRANSFORM
var last_updated = (last_known && last_known.entries) ? last_known.entries : null;
function is_newer (elem) {
if (!last_known) { return true; };
return last_known.entries < new Date(elem.dateString);
Expand Down

0 comments on commit 965dda3

Please sign in to comment.