From 48bea0745d752d49dbdd6feb0ef12a2ff5bd2a16 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Sat, 24 Jun 2023 09:14:02 +0100 Subject: [PATCH] updates --- client/auth/loginWithGoogle.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/auth/loginWithGoogle.js b/client/auth/loginWithGoogle.js index d85973b..9e5ca86 100644 --- a/client/auth/loginWithGoogle.js +++ b/client/auth/loginWithGoogle.js @@ -83,7 +83,7 @@ module.exports = async function loginWithGoogle({ username, database, clientId, callback: handleCredentialResponse, }); - google.accounts.id.renderButton(document.getElementById("google-identity-button"), { + google.accounts.id.renderButton(element, { theme: "outline", size: "large", logo_alignment: "center", diff --git a/package.json b/package.json index 33f0f97..8aeaa7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.38", + "version": "1.1.39", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {