chore: remove path debugger & change default value user column

This commit is contained in:
Mahen 2026-05-19 15:59:41 +07:00
parent c9edc4a3fc
commit 9d9e14e092
2 changed files with 2 additions and 3 deletions

View File

@ -97,7 +97,7 @@ model User {
bio String? @db.Text
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
updatedAt DateTime @updatedAt @default(now())
accounts Account[]
sessions Session[]

View File

@ -72,8 +72,7 @@ export const getAIRecommendation = async (
options?: { signal?: AbortSignal },
): Promise<AIRecommendationResponse> => {
const base_url = process.env.NEXT_PUBLIC_API_URL;
console.log("BASE URL:", base_url);
console.log("FULL TARGET URL:", `${base_url}/recommend`);
const aiRes = await fetch(`${base_url}/recommend`, {
method: "POST",
headers: { "Content-Type": "application/json" },