Archived
2

changed to findById and improved db.loadJson

This commit is contained in:
VLE2FE
2020-04-24 10:53:45 +02:00
parent 4e68267bfd
commit 8bf408138f
7 changed files with 48 additions and 8 deletions

View File

@ -2,7 +2,7 @@
"collections": {
"users": [
{
"_id": "5ea0450ed851c30a90e70894",
"_id": {"$oid":"5ea0450ed851c30a90e70894"},
"email": "jane.doe@bosch.com",
"name": "janedoe",
"pass": "$2a$10$i872o3qR5V3JnbDArD8Z.eDo.BNPDBaR7dUX9KSEtl9pUjLyucy2K",
@ -13,7 +13,7 @@
"__v": 0
},
{
"_id": "5ea131671feb9c2ee0aafc9b",
"_id": {"$oid":"5ea131671feb9c2ee0aafc9b"},
"email": "a.d.m.i.n@bosch.com",
"name": "admin",
"pass": "$2a$10$i872o3qR5V3JnbDArD8Z.eDo.BNPDBaR7dUX9KSEtl9pUjLyucy2K",