Skip to content

Commit

Permalink
✨ mongoose - comment is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico105 committed Sep 4, 2021
1 parent d26570e commit c0bb914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom-databases/mongoose.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Discord = require('discord.js'),

// Connect to the database
const mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/giveaways'); // If you are not using Mongoose 6, add "{ useFindAndModify: false }" as the second argument.
mongoose.connect('mongodb://localhost/giveaways');
const db = mongoose.connection;

// Check the connection
Expand Down

0 comments on commit c0bb914

Please sign in to comment.