From 23452dea63c73cda64c7cc9658a1cee83e298fe1 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Sun, 7 May 2023 10:04:41 +0100 Subject: [PATCH] updates --- index.js | 14 +++++++++----- package.json | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 93cb05c..5cadc9e 100644 --- a/index.js +++ b/index.js @@ -27,11 +27,15 @@ const userAuth = require("./users/user-auth"); const datasquirel = { get: get, post: post, - uploadImage: uploadImage, - createUser: createUser, - loginUser: loginUser, - logoutUser: logoutUser, - userAuth: userAuth, + media: { + uploadImage: uploadImage, + }, + user: { + createUser: createUser, + loginUser: loginUser, + logoutUser: logoutUser, + userAuth: userAuth, + }, }; module.exports = datasquirel; diff --git a/package.json b/package.json index 189e9d2..d8fb6f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.0.14", + "version": "1.0.15", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {