mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
passing address to saveRequest
This commit is contained in:
parent
47e4f4a97d
commit
fc1bac528a
5 changed files with 12 additions and 3 deletions
|
@ -33,7 +33,9 @@ export const getStoredMap = ({ name }) => axios.get(API.GET_MAP, {
|
|||
}
|
||||
}).then(result => (result && result.data && result.data.data && result.data.owner && { ...result.data.data, owner: result.data.owner }));
|
||||
|
||||
export const postMap = ({ title, address, route, stickers, id, token }) => axios.post(API.POST_MAP, {
|
||||
export const postMap = ({
|
||||
title, address, route, stickers, id, token
|
||||
}) => axios.post(API.POST_MAP, {
|
||||
action: 'store',
|
||||
title,
|
||||
address,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue