I hereby claim:
- I am RubenHoms on github.
- I am rubenhoms (https://keybase.io/rubenhoms) on keybase.
- I have a public key whose fingerprint is 4D1C 017A 0FB5 8B90 F684 5A87 CA64 BAC8 1350 17FD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// I'm trying to run a query on Mongo, which should simply be: | |
var res = Toggl.findOne({ date: new Date().getDateString() } ); | |
// Although when I run that piece of code Meteor exits with the message: "Exited with code: 1" | |
// So I try other methods to run this statement, such as: | |
var getTasks = Meteor.bindEnvironment( function() { | |
return Toggl.findOne({ date: new Date().toDateString() } ); | |
}, function( err ) { | |
console.log( err ); | |
}); |