diff --git a/backend/.env.example b/backend/.env.example index 31a85bc..316ea59 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -5,8 +5,5 @@ # Get your API key from: https://console.anthropic.com/ # ANTHROPIC_API_KEY="your_anthropic_api_key_here" -# Example: Database connection string -# DB_CONNECTION_STRING="your_database_connection_string_here" - # Example: Port # PORT=3000 \ No newline at end of file diff --git a/backend/src/controllers/ai.controller.ts b/backend/src/controllers/ai.controller.ts index 2824d21..34f8ac0 100644 --- a/backend/src/controllers/ai.controller.ts +++ b/backend/src/controllers/ai.controller.ts @@ -51,7 +51,9 @@ export const analyzeResume = async ( jobDescription, }); - res.status(200).json(result); + res + .status(200) + .json({ resumeText: cleanResumeText, jobDescription, feedback: result }); } catch (error) { console.error("Error in analyzeResume:", error); res.status(500).json({