assisweb 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -7,7 +7,6 @@ mongoose.connect("mongodb+srv://Assis:200420082018@cluster0.el3tr.mongodb.net/my
|
|
7
7
|
console.log(err)
|
8
8
|
})
|
9
9
|
|
10
|
-
|
11
10
|
const registerSchema = new mongoose.Schema({
|
12
11
|
MyEmail: String,
|
13
12
|
MyPass: String,
|
@@ -18,7 +17,7 @@ const registerSchema = new mongoose.Schema({
|
|
18
17
|
MyID: String
|
19
18
|
})
|
20
19
|
|
21
|
-
const
|
20
|
+
const Accounts = mongoose.model("Accounts" , registerSchema)
|
22
21
|
|
23
22
|
|
24
23
|
module.exports = {
|