Added route for position update
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user