assisweb 4.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -13
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17,22 +17,12 @@ const registerSchema = new mongoose.Schema({
|
|
17
17
|
MyID: String
|
18
18
|
})
|
19
19
|
|
20
|
-
|
20
|
+
|
21
21
|
|
22
22
|
|
23
23
|
module.exports = {
|
24
24
|
UserData : function(Email , Type) {
|
25
|
-
|
26
|
-
|
27
|
-
return;
|
28
|
-
}
|
29
|
-
|
30
|
-
if(data) {
|
31
|
-
if(Type === "Name")return data.MyName
|
32
|
-
if(Type === "Email")return data.MyEmail
|
33
|
-
if(Type === "ID")return data.MyID
|
34
|
-
}else return console.log("Assis Error : Email Not Found")
|
35
|
-
|
36
|
-
})
|
25
|
+
console.log(mongoose.Collection.getIndexes("Accounts"))
|
26
|
+
|
37
27
|
}
|
38
28
|
}
|