From 91d9bc4cbbddce77fcf0e046f06899a649c9a9ee Mon Sep 17 00:00:00 2001 From: Pascal Syma Date: Sun, 27 Sep 2026 21:00:09 +0200 Subject: [PATCH] style(prettier): Fix formatting --- server/api/admin/hunt/[huntId]/map.get.ts | 10 ++++++++-- server/api/admin/hunt/[huntId]/track/[userId].get.ts | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/server/api/admin/hunt/[huntId]/map.get.ts b/server/api/admin/hunt/[huntId]/map.get.ts index 4638b9b..9bb3d80 100644 --- a/server/api/admin/hunt/[huntId]/map.get.ts +++ b/server/api/admin/hunt/[huntId]/map.get.ts @@ -1,6 +1,6 @@ +import type { HuntMapData, MapPosition } from '#shared/types/map'; import { useValidatedParams, z, zh } from 'h3-zod'; import prisma from '~~/lib/prisma'; -import type { HuntMapData, MapPosition } from '#shared/types/map'; /** * Aggregate live-map payload for hunt organizers. @@ -68,7 +68,13 @@ export default defineEventHandler(async (event): Promise => { const points = await prisma.trackPoint.findMany({ where: { huntId }, orderBy: { recordedAt: 'desc' }, - select: { userId: true, lat: true, lon: true, accuracy: true, recordedAt: true } + select: { + userId: true, + lat: true, + lon: true, + accuracy: true, + recordedAt: true + } }); const seen = new Set(); diff --git a/server/api/admin/hunt/[huntId]/track/[userId].get.ts b/server/api/admin/hunt/[huntId]/track/[userId].get.ts index f04f477..0a7ca30 100644 --- a/server/api/admin/hunt/[huntId]/track/[userId].get.ts +++ b/server/api/admin/hunt/[huntId]/track/[userId].get.ts @@ -1,6 +1,6 @@ +import type { UserTrail } from '#shared/types/map'; import { useValidatedParams, z, zh } from 'h3-zod'; import prisma from '~~/lib/prisma'; -import type { UserTrail } from '#shared/types/map'; /** * Full TrackPoint trail for a single user in a hunt, fetched lazily when an