fixes unauthenticated error

This commit is contained in:
Christian Beutel
2025-04-21 20:54:27 +02:00
parent da253a5867
commit 1ec6f66b38

View File

@@ -185,7 +185,7 @@ export async function trails_create(trail: Trail, photos: File[], gpx: File | Bl
const model = await waypoints_create({
...waypoint,
marker: undefined,
}, f);
}, f, user);
trail.waypoints.push(model.id!);
}
for (const summitLog of trail.expand?.summit_logs ?? []) {