diff options
author | Raphael <raphaelkabo@gmail.com> | 2024-02-05 09:18:41 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-05 21:46:59 +0000 |
commit | be317850f203c428f77394f824908ecff500cf78 (patch) | |
tree | 4c16335c590ac01269e0adb3940a3bc21f121ead /src/start.ts | |
parent | ecff04b132db687f67d9a6cda2d1c13831c45394 (diff) |
Fix Pleroma federation, add hidden RSVP option
Diffstat (limited to 'src/start.ts')
-rwxr-xr-x | src/start.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/start.ts b/src/start.ts index a6399ac..124a2fb 100755 --- a/src/start.ts +++ b/src/start.ts @@ -9,6 +9,7 @@ mongoose.connect(config.database.mongodb_url, { useUnifiedTopology: true, }); mongoose.set("useCreateIndex", true); +mongoose.set("useFindAndModify", false); mongoose.Promise = global.Promise; mongoose.connection .on("connected", () => { |