Hi,
I have a publication :
Meteor.publish.once('tests', function () {
return Tests.find(
{
isPrivate: true,
ownerId: this.userId
}
);
});
On client side, i have :
Meteor.subscribe('tests')
At the beginning, I have one document matching the filter. So one document is added to minimongo.
Via a moethod, I update another document by setting isPrivate = true
From the server, I receive the message changed with the update field (isPrivate). I was expected to receive an added message with the complete document
Hi,
I have a publication :
On client side, i have :
Meteor.subscribe('tests')At the beginning, I have one document matching the filter. So one document is added to
minimongo.Via a moethod, I update another document by setting
isPrivate = trueFrom the server, I receive the message
changedwith the update field (isPrivate). I was expected to receive anaddedmessage with the complete document