diff --git a/engine/user/add-user.js b/engine/user/add-user.js index 3863dd6..2162bf7 100644 --- a/engine/user/add-user.js +++ b/engine/user/add-user.js @@ -70,7 +70,7 @@ async function localAddUser({ payload, dbSchema }) { }; } - const fieldsTitles = fields.map((fieldObject) => fieldObject.Field); + const fieldsTitles = fields.map((/** @type {*} */ fieldObject) => fieldObject.Field); let invalidField = null; diff --git a/package.json b/package.json index d1bdb5b..39b2a10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.7.3", + "version": "1.7.4", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {