mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
route: fixed empty route startup view
This commit is contained in:
parent
516bcbca05
commit
4f8c6bce33
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export const getGuestToken = () => axios.get(API.GET_GUEST).then(result => (resu
|
|||
|
||||
export const getStoredMap = ({ name }) => axios.get(API.GET_MAP, {
|
||||
params: { name }
|
||||
}).then(result => (result && result.data));
|
||||
}).then(result => (result && result.data && result.data.success && result.data));
|
||||
|
||||
export const postMap = ({
|
||||
title, address, route, stickers, id, token, force, logo, distance,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue