Commit 1063ca37 authored by Alex Pinto's avatar Alex Pinto

logged google response

parent 69d1944d
...@@ -14,7 +14,7 @@ spec: ...@@ -14,7 +14,7 @@ spec:
spec: spec:
containers: containers:
- name: afp-warehouse-management-ui-container - name: afp-warehouse-management-ui-container
image: nexus.mynisum.com/afp-warehouse-management-ui:6 image: nexus.mynisum.com/afp-warehouse-management-ui:7
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 8089 - containerPort: 8089
......
...@@ -8,6 +8,7 @@ const clientId = keys.clientId; ...@@ -8,6 +8,7 @@ const clientId = keys.clientId;
const Login = ({ login }) => { const Login = ({ login }) => {
const responseGoogle = (googleResponse) => { const responseGoogle = (googleResponse) => {
console.log(googleResponse);
const { tokenId, profileObj } = googleResponse; const { tokenId, profileObj } = googleResponse;
login({ token: tokenId, user: profileObj }); login({ token: tokenId, user: profileObj });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment