mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix api breaking change with timestamps
This commit is contained in:
@@ -478,7 +478,7 @@ if (Meteor.isServer) {
|
||||
self.expects = [];
|
||||
self.insert = async function(fields) {
|
||||
return coll.insertAsync(
|
||||
Object.assign({ ts: new MongoInternals.MongoTimestamp(0, 0) }, fields)
|
||||
Object.assign({ ts: new MongoInternals.MongoTimestamp({ t: 0, i: 0 }) }, fields)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user