Skip to content

Comments

Patch for db/db.js#80

Open
beetle-ai[bot] wants to merge 1 commit intomainfrom
fix/1760195446345-zg2p
Open

Patch for db/db.js#80
beetle-ai[bot] wants to merge 1 commit intomainfrom
fix/1760195446345-zg2p

Conversation

@beetle-ai
Copy link

@beetle-ai beetle-ai bot commented Oct 11, 2025

Added a check to ensure the .env file exists before attempting to load environment variables.Changes made:

  • Replaced: import mongoose from "mongoose"; import dotenv from "dotenv"; const connectedToDb = async () => { do...
  • With: import mongoose from "mongoose"; import dotenv from "dotenv"; import fs from 'fs'; // Import the 'fs...

Related Issue: #2c8b9a7e-1b2a-4b3c-9d4e-5f6a8b7c9d0e

File: db/db.js
Branch: fix/1760195446345-zg2pmain

@vercel
Copy link

vercel bot commented Oct 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
question-bank-api Ready Ready Preview Comment Oct 11, 2025 3:11pm

@coderabbitai
Copy link

coderabbitai bot commented Oct 11, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants