@xuda.io/xuda-dbs-plugin-xuda 1.0.130 → 1.0.132
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.
- package/package.json +1 -1
- package/server.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xuda.io/xuda-dbs-plugin-xuda",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.132",
|
4
4
|
"description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
|
5
5
|
"scripts": {
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|
package/server.js
CHANGED
@@ -1522,7 +1522,7 @@ exports.check_unique = async (params, setup_doc, resolve, reject) => {
|
|
1522
1522
|
const db = params.db;
|
1523
1523
|
const app_id_reference = params.app_id_reference;
|
1524
1524
|
const table_obj = params.table_obj;
|
1525
|
-
const doc = params.doc;
|
1525
|
+
const doc = params.e.doc;
|
1526
1526
|
try {
|
1527
1527
|
const ret = await check_unique(e, doc, table_obj, db, app_id_reference);
|
1528
1528
|
if (ret.code < 0) {
|