@xuda.io/xuda-dbs-plugin-xuda 1.0.77 → 1.0.78

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
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
@@ -1734,7 +1734,7 @@ exports.update = async (params, setup_doc, resolve, reject) => {
1734
1734
  e.field_id
1735
1735
  );
1736
1736
  if (!_tableFieldsObj || _.isEmpty(_tableFieldsObj)) {
1737
- return reject("Error:" + e.field_id + " - field not found");
1737
+ return reject("Error: " + e.field_id + " - field not found");
1738
1738
  }
1739
1739
 
1740
1740
  doc.udfData.data[e.field_id] = await get_cast_val(
@@ -1754,7 +1754,7 @@ exports.update = async (params, setup_doc, resolve, reject) => {
1754
1754
  key
1755
1755
  );
1756
1756
  if (!_tableFieldsObj || _.isEmpty(_tableFieldsObj)) {
1757
- reject("Error:" + key + " - field not found");
1757
+ reject("Error: " + key + " - field not found");
1758
1758
  break;
1759
1759
  }
1760
1760