fixes unauthenticated error
This commit is contained in:
@@ -185,7 +185,7 @@ export async function trails_create(trail: Trail, photos: File[], gpx: File | Bl
|
|||||||
const model = await waypoints_create({
|
const model = await waypoints_create({
|
||||||
...waypoint,
|
...waypoint,
|
||||||
marker: undefined,
|
marker: undefined,
|
||||||
}, f);
|
}, f, user);
|
||||||
trail.waypoints.push(model.id!);
|
trail.waypoints.push(model.id!);
|
||||||
}
|
}
|
||||||
for (const summitLog of trail.expand?.summit_logs ?? []) {
|
for (const summitLog of trail.expand?.summit_logs ?? []) {
|
||||||
|
|||||||
Reference in New Issue
Block a user