Added route for position update

This commit is contained in:
PxlLoewe
2025-05-09 12:17:29 -07:00
parent 654bdfbbaa
commit d562056dc2
4 changed files with 56 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ export const GET = async (req: NextRequest) => {
id: decoded.id,
},
});
if (!user)
return NextResponse.json({ error: "User not found" }, { status: 404 });
setTimeout(async () => {