From bca8c1e8e398a2ebc0df96e4d6e3a298f258626a Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Wed, 3 May 2023 08:19:54 +0100 Subject: [PATCH] update readme --- package.json | 2 +- utils/get.js | 1 + utils/upload-image.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e36eb5..4012248 100644 --- a/package.json +++ b/package.json @@ -24,5 +24,5 @@ "bugs": { "url": "https://github.com/BenjaminToby/dsql/issues" }, - "homepage": "https://github.com/BenjaminToby/dsql#readme" + "homepage": "https://datasquirel.com/" } diff --git a/utils/get.js b/utils/get.js index bb5eb42..4edfdfa 100644 --- a/utils/get.js +++ b/utils/get.js @@ -17,6 +17,7 @@ const https = require("https"); * Main Function * ============================================================================== * @param {String} key - API Key + * @param {String} db - Database Slug * @param {String} query - SQL query */ module.exports = async function ({ key, db, query }) { diff --git a/utils/upload-image.js b/utils/upload-image.js index 920dd2e..fca47a2 100644 --- a/utils/upload-image.js +++ b/utils/upload-image.js @@ -17,7 +17,7 @@ const https = require("https"); * Main Function * ============================================================================== * @param {String} key - API Key - * @param {String} payload - Image Data Eg. { + * @param {Object} payload - Image Data Eg. { imageData: imageBase64, imageName: `cast_cord_user_${newUser.payload.insertId}`, mimeType: "jpg",