@gingkoo/base-server 0.0.4-alpha.38 → 0.0.4-alpha.39

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.
@@ -338,7 +338,7 @@ function getSheetData(sheetName, sheetData, cols, options = {}) {
338
338
  let headerMatchCount = options?.headerMatchCount || 2;
339
339
  let uniqueKey = options?.uniqueKey || '';
340
340
  let validKeys = options?.validKeys || [];
341
- if (!validKeys.includes(uniqueKey)) {
341
+ if (uniqueKey && !validKeys.includes(uniqueKey)) {
342
342
  validKeys.push(uniqueKey);
343
343
  }
344
344
  let onLogger = options?.onLogger || function () {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/base-server",
3
- "version": "0.0.4-alpha.38",
3
+ "version": "0.0.4-alpha.39",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {