From 6b6b924cc9c91daaae1443b8404fa4e19b784d69 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:22:31 +0100 Subject: [PATCH] updates --- index.js | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 41e4c39..9d37d5b 100644 --- a/index.js +++ b/index.js @@ -13,6 +13,7 @@ const logoutUser = require("./users/logout-user"); const userAuth = require("./users/user-auth"); const reAuthUser = require("./users/reauth-user"); const getUser = require("./users/get-user"); +const loginWithGoogle = require("./users/social/google-auth"); /** ****************************************************************************** */ /** ****************************************************************************** */ @@ -34,6 +35,9 @@ const user = { reAuthUser: reAuthUser, updateUser: updateUser, getUser: getUser, + social: { + loginWithGoogle: loginWithGoogle, + }, }; /** diff --git a/package.json b/package.json index 1675c2b..3468df5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.41", + "version": "1.1.42", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {