These are chat archives for deployd/deployd

Mar 2017
Mar 08 2017 02:51
I'm struggling with an event. I have the following code in an "On Post" event and cannot get it to update the object. Should this work? dpd.dishes.put(this.dishId, {
taste: {$push: {userId: currentUser, taste: this.taste}}
}).error(function(err) {
// Alert if there's an error
return alert(err.message || "an error occurred");