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": {