jwt-project icon indicating copy to clipboard operation
jwt-project copied to clipboard

Mongodb no longer support useFindAndModify, and useCreateIndex

Open Isaiah-code2035 opened this issue 3 years ago • 2 comments

They are no longer supported by MongoDb in the database,js file, useCreateIndex: true, useFindAndModify: false, this can cause a failure in connecting to the database

Isaiah-code2035 avatar Feb 13 '22 02:02 Isaiah-code2035

I noticed the same while taking a look at the repository and addressed it with the PR here https://github.com/Olanetsoft/jwt-project/pull/5

DEDaniel avatar May 25 '22 19:05 DEDaniel

They are no longer supported by MongoDb in the database,js file, useCreateIndex: true, useFindAndModify: false, this can cause a failure in connecting to the database

I comment out these two line , that works fine for me

alexgy1 avatar Sep 26 '22 03:09 alexgy1