Update AuthenticationManager.js

revert Changes - the pull request was faulty. This was already the id...
This commit is contained in:
sym 2021-03-05 10:12:26 +01:00 committed by GitHub
parent 9344017322
commit 1e60e141f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ const AuthenticationManager = {
}
db.users.update(
{
_id: ObjectId(userId._id.toString())
_id: ObjectId(userId.toString())
},
{
$set: {