auth: api call (fixed)

This commit is contained in:
muerwre 2018-12-10 15:00:28 +07:00
parent a43bac4c26
commit 28dc2bec8b

View file

@ -33,6 +33,6 @@ export const postMap = ({
distance, distance,
}).then(result => (result && result.data && result.data)); }).then(result => (result && result.data && result.data));
export const checkIframeToken = ({ id, token }) => axios.get(API.IFRAME_LOGIN_VK, { export const checkIframeToken = ({ viewer_id, access_token, auth_key }) => axios.get(API.IFRAME_LOGIN_VK, {
params: { viewer_id, access_token, auth_key } params: { viewer_id, access_token, auth_key }
}).then(result => (result && result.data)); }).then(result => (result && result.data));