From be27292699e90f1b81d0c5db17736ab0878ce03f Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 24 Mar 2024 00:15:55 -0700 Subject: [PATCH] Minor change. --- .../src/main/java/com/wisemapping/rest/OAuth2Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-api/src/main/java/com/wisemapping/rest/OAuth2Controller.java b/wise-api/src/main/java/com/wisemapping/rest/OAuth2Controller.java index 7997f614..3a5252a1 100644 --- a/wise-api/src/main/java/com/wisemapping/rest/OAuth2Controller.java +++ b/wise-api/src/main/java/com/wisemapping/rest/OAuth2Controller.java @@ -89,7 +89,7 @@ public class OAuth2Controller extends BaseController { // Response ... final RestOath2CallbackResponse result = new RestOath2CallbackResponse(); result.setEmail(user.getEmail()); - result.setGoogleSync(false); + result.setGoogleSync(user.getGoogleSync()); result.setSyncCode(user.getSyncCode()); result.setJwtToken(jwtToken); return result;