Adding buttons to reverse geocode routes.
This commit is contained in:
1 parent
69148f6e1d
commit
97f11239e8
4 files changed
+66
-11
No files matched your search
@@ -52,3 +52,10 @@ export const getRte = async (params: any) => {
|
||||
});
|
||||
return rte;
|
||||
};
|
||||
|
||||
export const putRte = async (params: any) => {
|
||||
const { id, rte } = params;
|
||||
rte.rtept = undefined;
|
||||
await put(id, 'rte', (doc) => rte, rte);
|
||||
return rte;
|
||||
};
|
||||
Reference in new issue
Block a user