assisweb 6.0.0 → 7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -19,7 +19,7 @@ const registerSchema = new mongoose.Schema({
|
|
19
19
|
|
20
20
|
const Accounts = mongoose.model("Accounts" , registerSchema)
|
21
21
|
|
22
|
-
|
22
|
+
module.exports = Accounts
|
23
23
|
module.exports = {
|
24
24
|
UserData : async function(Email , Type) {
|
25
25
|
await Accounts.findOne({MyEmail: Email} , (err , data) => {
|