some Fixes, see #45

This commit is contained in:
PxlLoewe
2025-07-05 00:59:22 -07:00
parent 80d2704852
commit 2cdbab9f28
9 changed files with 240 additions and 176 deletions

View File

@@ -15,6 +15,9 @@ export async function GET(request: NextRequest): Promise<NextResponse> {
gte: new Date(Date.now() - 2 * 60 * 60 * 1000), // Last 2 hours
},
},
orderBy: {
timestamp: "desc",
},
});
return NextResponse.json(positionLog, {