mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
auth: added login through vk iframe
This commit is contained in:
parent
678f2b17a4
commit
9427866e60
5 changed files with 75 additions and 3 deletions
|
@ -31,4 +31,8 @@ export const postMap = ({
|
|||
force,
|
||||
logo,
|
||||
distance,
|
||||
}).then(result => (result && result.data && result.data));
|
||||
}).then(result => (result && result.data && result.data)).catch(() => null);
|
||||
|
||||
export const getVkIframeUser = ({ viewer_id: user_id, access_token }) => (axios.get(API.VK_IFRAME_AUTH, {
|
||||
params: { user_id, access_token }
|
||||
}).then(result => (result && result.data))).catch(() => null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue