cgserver 6.1.8 → 6.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -306,7 +306,7 @@ class MongoManager {
306
306
  updatemodel = model;
307
307
  }
308
308
  let col = this._mongo.collection(collection);
309
- up_rs = await col.updateOne(where, model, { upsert: upsert });
309
+ up_rs = await col.updateOne(where, updatemodel, { upsert: upsert });
310
310
  }
311
311
  catch (e) {
312
312
  Log_1.GLog.error(e.stack);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "6.1.8",
3
+ "version": "6.1.9",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",