-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction data set correctly, but action is not done #58
Comments
Just check that the |
The query object definitely has an _id value set, and it's the only value set in that object. Here's some more sample code (defined as Meteor methods):
Any other suggestions? |
Bump |
Hmmm... not sure what to suggest here. That code looks fine to me. Note: the return value from the method shown above will not be the return value from the mongo update command, it will just be If there's a minimal repro I could look at I could figure out what's going on. |
I'm getting what looks to be correct messages in console, but the action itself is not being done in the first place.
Relevant line of code:
return Articles.update(query, { $set: data }, {tx: true});
The text was updated successfully, but these errors were encountered: