From 0a29973cc72f746fa63bf7e72551d9e4d778c0ef Mon Sep 17 00:00:00 2001 From: Tben Date: Sun, 13 Aug 2023 15:32:47 +0100 Subject: [PATCH] Update Types --- engine/user/add-user.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {