auth: api call?

This commit is contained in:
muerwre 2018-12-10 14:59:09 +07:00
parent 088236c94e
commit a43bac4c26
3 changed files with 21 additions and 2 deletions

View file

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