adds upload cron && fixes date formatting

This commit is contained in:
Christian Beutel
2024-03-28 18:36:59 +01:00
parent 15dcc2a629
commit 1d8520fa67
11 changed files with 83 additions and 34 deletions

View File

@@ -167,7 +167,7 @@ export async function trails_search_bounding_box(northEast: LatLng, southWest: L
export async function trails_show(id: string, loadGPX?: boolean, f: (url: RequestInfo | URL, config?: RequestInit) => Promise<Response> = fetch) {
const r = await f(`/api/v1/trail/${id}?` + new URLSearchParams({
expand: "category,waypoints,summit_logs,lists_via_trails",
expand: "category,waypoints,summit_logs",
}), {
method: 'GET',
})