chore: remove path debugger & change default value user column
This commit is contained in:
parent
c9edc4a3fc
commit
9d9e14e092
|
|
@ -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[]
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue