client frontend added

This commit is contained in:
2025-05-19 23:12:23 +03:00
parent 5f7cb35ccc
commit fdf9d2edb8
507 changed files with 40655 additions and 510 deletions

View File

@@ -0,0 +1,20 @@
import { retrieveUserSelection } from "@/apicalls/cookies/token";
import { NextResponse } from "next/server";
export async function POST(): Promise<NextResponse> {
try {
const userSelection = await retrieveUserSelection();
console.log("userSelection", userSelection);
if (userSelection) {
return NextResponse.json({
status: 200,
message: "User selection found",
data: userSelection,
});
}
} catch (error) {}
return NextResponse.json({
status: 500,
message: "User selection not found",
});
}