Adding buttons to reverse geocode routes.

This commit is contained in:
vdv committed 2023-01-05 18:27:20 +01:00
1 parent 69148f6e1d
commit 97f11239e8
4 files changed
+66 -11

No files matched your search

+7
View File
@@ -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;
};