Skip to content

MongoError: user is not allowed to do action [remove]#228

Open
Govind-Upadhyay-12 wants to merge 1 commit intobradtraversy:masterfrom
Govind-Upadhyay-12:fix/mongodb-remove
Open

MongoError: user is not allowed to do action [remove]#228
Govind-Upadhyay-12 wants to merge 1 commit intobradtraversy:masterfrom
Govind-Upadhyay-12:fix/mongodb-remove

Conversation

@Govind-Upadhyay-12
Copy link

error-while login or going on home page this error message is showing :: MongoError: user is not allowed to do action [remove] on [proshop1.orders]

error solved-->just replacing remove to deleteOne() because this was depricted and deleteOne is latestone
#213

pull this

@Govind-Upadhyay-12
Copy link
Author

error solved-->just replacing remove to deleteOne() because this was depricted and deleteOne is latestone
#213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant