From 17fdf0538256510eb0c6a9bef8e3c40f8521c1e3 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Tue, 10 Dec 2024 13:45:30 +0100 Subject: [PATCH] Bugfix --- package.json | 2 +- users/add-user.d.ts | 4 ++-- users/add-user.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 19befad..e4d4e72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "2.8.0", + "version": "2.8.1", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": { diff --git a/users/add-user.d.ts b/users/add-user.d.ts index 18cd752..6cf271d 100644 --- a/users/add-user.d.ts +++ b/users/add-user.d.ts @@ -6,7 +6,7 @@ export = addUser; * * @param {object} param - Single object passed * @param {string} [param.key] - FULL ACCESS API Key - * @param {string} param.database - Database Name + * @param {string} [param.database] - Database Name * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {string} [param.encryptionKey] * @param {string} [param.encryptionSalt] @@ -18,7 +18,7 @@ export = addUser; */ declare function addUser({ key, payload, database, encryptionKey, user_id, useLocal, apiUserId, }: { key?: string; - database: string; + database?: string; payload: import("../package-shared/types").UserDataPayload; encryptionKey?: string; encryptionSalt?: string; diff --git a/users/add-user.js b/users/add-user.js index 24174fa..768a724 100644 --- a/users/add-user.js +++ b/users/add-user.js @@ -12,7 +12,7 @@ const apiCreateUser = require("../package-shared/functions/api/users/api-create- * * @param {object} param - Single object passed * @param {string} [param.key] - FULL ACCESS API Key - * @param {string} param.database - Database Name + * @param {string} [param.database] - Database Name * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {string} [param.encryptionKey] * @param {string} [param.encryptionSalt]