Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
sbasile-ch committed Feb 27, 2025
1 parent 852e4cb commit 5ad6a15
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ public void saveConfigInfo(MongoConfigInfo configInfo) {
.set("lastScan", LocalDateTime.now()
.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")));

System.out.println("Query: " + query);
System.out.println("Update: " + update);

// Try first to update if the doc exists
if (mongoTemplate.updateFirst(query, update, collectionName).getModifiedCount() == 0) {
// If nothing was updated --> create it
Expand Down

0 comments on commit 5ad6a15

Please sign in to comment.