Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Klas Kalass committed Dec 4, 2011
1 parent d2afca4 commit 75a051c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/offlike/server/service/MongoDbService.java
Expand Up @@ -65,7 +65,9 @@ public void activateQrCode(String qrCodeId, double latitude, double longitude, i
found.put("accuracy", acurracy);

allQrCodes.update(query, found);
System.out.println("updated");

DBObject newFound = allQrCodes.findOne(query);
System.out.println("updated " + newFound);
}

public QrCode findQrCodeById(String qrCodeId) {
Expand Down

0 comments on commit 75a051c

Please sign in to comment.