mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
routes: filtering by distance
This commit is contained in:
parent
c69da00b2a
commit
8248d9f166
12 changed files with 546 additions and 43 deletions
|
@ -39,9 +39,9 @@ export const checkIframeToken = ({ viewer_id, auth_key }) => axios.get(API.IFRAM
|
|||
}).then(result => (result && result.data && result.data.success && result.data.user)).catch(() => (false));
|
||||
|
||||
export const getRouteList = ({
|
||||
title, distance, author, starred
|
||||
title, distance, author, starred
|
||||
}) => axios.get(API.GET_ROUTE_LIST, {
|
||||
params: {
|
||||
title, distance, author, starred
|
||||
title, distance, author, starred
|
||||
}
|
||||
}).then(result => (result && result.data && result.data.success && result.data.list)).catch(() => ([]));
|
||||
}).then(result => (result && result.data && result.data.success && result.data)).catch(() => ([]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue