From c0bb9148e70f0d2bae09144dad19da61cc2c4f9a Mon Sep 17 00:00:00 2001 From: Nico105 <63612668+Nico105@users.noreply.github.com> Date: Sat, 4 Sep 2021 23:02:07 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20mongoose=20-=20comment=20is=20not?= =?UTF-8?q?=20needed=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/custom-databases/mongoose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/custom-databases/mongoose.js b/examples/custom-databases/mongoose.js index e3817bcb..204d47b5 100644 --- a/examples/custom-databases/mongoose.js +++ b/examples/custom-databases/mongoose.js @@ -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