From af6ebfe15c4e12b9b991389f5ddb36daaabf175f Mon Sep 17 00:00:00 2001 From: Tben Date: Thu, 10 Aug 2023 14:09:12 +0100 Subject: [PATCH] updates --- index.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 7a14fe3..6d074da 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,7 @@ const get = require("./utils/get"); const post = require("./utils/post"); const uploadImage = require("./utils/upload-image"); +const uploadFile = require("./utils/upload-file"); const createUser = require("./users/add-user"); const updateUser = require("./users/update-user"); const loginUser = require("./users/login-user"); @@ -47,6 +48,7 @@ const user = { */ const media = { uploadImage: uploadImage, + uploadFile: uploadFile, }; /** diff --git a/package.json b/package.json index 23528e1..c7eb93e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.4.3", + "version": "1.4.4", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {