From e65a4151338624e92072d544e70df624ee951ef8 Mon Sep 17 00:00:00 2001
From: Lucas Schoenfelder <les17@inf.ufpr.br>
Date: Fri, 30 Oct 2020 11:28:49 -0300
Subject: [PATCH] fixed backend call

---
 src/Components/LoginContainerFunction.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Components/LoginContainerFunction.js b/src/Components/LoginContainerFunction.js
index 9f2aee36..099b7447 100644
--- a/src/Components/LoginContainerFunction.js
+++ b/src/Components/LoginContainerFunction.js
@@ -32,7 +32,7 @@ import {apiUrl} from '../env';
 async function handleGoogleAttempt () {
 	console.log("handleGoogleAttempt")
 	let request_url = (
-        `${apiUrl}/v1/omniauth/google_oauth2?auth_origin_url=` + window.location.href + '&omniauth_window_type=sameWindow&resource_class=User'
+        `${apiUrl}/omniauth/google_oauth2?auth_origin_url=` + window.location.href + '&omniauth_window_type=sameWindow&resource_class=User'
     )
     window.location.replace(request_url)
 }
-- 
GitLab