Skip to content

Commit

Permalink
fix: error to use mongoose
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanestban committed Jan 27, 2024
1 parent 1725ad6 commit 8865b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/mongoose.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as mongoose from 'mongoose';
import mongoose from 'mongoose';

const { MONGODB_ATLAS_USERNAME, MONGODB_ATLAS_PASSWORD, NODE_ENV } = process.env;
const database = NODE_ENV === 'production' ? 'notipadDB' : 'notipadDB_development';
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "lilith-notipad",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down

0 comments on commit 8865b1c

Please sign in to comment.