Skip to content
Snippets Groups Projects
Commit 3b700415 authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

attempt 12893891

parent ec9e89da
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ import {apiUrl} from '../env'; ...@@ -29,7 +29,7 @@ import {apiUrl} from '../env';
//arrumar isso //arrumar isso
const responseGoogle = (response) => { const responseGoogle = (response) => {
console.log(response); console.log(response);
axios.post((`${apiUrl}/auth/google_oauth2`), response).then( axios.post((`${apiUrl}/auth/validate_token`), response).then(
(response) => {console.log(response.data)}, (response) => {console.log(response.data)},
(error) => {console.log(error)} (error) => {console.log(error)}
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment