mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
save: public switch completed
This commit is contained in:
parent
b7f2c7c382
commit
4d126461ea
5 changed files with 18 additions and 12 deletions
|
@ -20,7 +20,7 @@ export const getStoredMap = ({ name }) => axios.get(API.GET_MAP, {
|
|||
}).then(result => (result && result.data && result.data.success && result.data));
|
||||
|
||||
export const postMap = ({
|
||||
title, address, route, stickers, id, token, force, logo, distance, provider,
|
||||
title, address, route, stickers, id, token, force, logo, distance, provider, is_public,
|
||||
}) => axios.post(API.POST_MAP, {
|
||||
title,
|
||||
address,
|
||||
|
@ -32,6 +32,7 @@ export const postMap = ({
|
|||
logo,
|
||||
distance,
|
||||
provider,
|
||||
is_public,
|
||||
}).then(result => (result && result.data && result.data));
|
||||
|
||||
export const checkIframeToken = ({ viewer_id, auth_key }) => axios.get(API.IFRAME_LOGIN_VK, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue