speed chart, old logo revival, softer hillshade, peaks as side feature
This commit is contained in:
@@ -300,7 +300,7 @@ export function recordAscent(
|
||||
return result.changes > 0;
|
||||
}
|
||||
|
||||
export function baggedPeaks(activityId: number, userId: number): (PeakRow & { climbed_at: string | null })[] {
|
||||
export function reachedPeaks(activityId: number, userId: number): (PeakRow & { climbed_at: string | null })[] {
|
||||
return db
|
||||
.prepare(
|
||||
`SELECT p.*, a.climbed_at FROM ascents a JOIN peaks p ON p.id = a.peak_id
|
||||
|
||||
Reference in New Issue
Block a user