Skip to content

Commit

Permalink
Merge pull request akto-api-security#375 from akto-api-security/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ankush-jain-akto committed Jun 24, 2023
2 parents afbe75e + 15e2535 commit 1da39f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ public DbUpdateReturn getDBUpdatesForParams(APICatalog currentDelta, APICatalog
update = Updates.inc("count", inc);

if (oldTs == 0) {
update = Updates.combine(update, Updates.set("timestamp", now));
update = Updates.combine(update, Updates.setOnInsert("timestamp", now));
}

update = Updates.combine(update, Updates.max(SingleTypeInfo.LAST_SEEN, deltaInfo.getLastSeen()));
Expand Down

0 comments on commit 1da39f3

Please sign in to comment.