Fix name of var

parent 6d969b16
......@@ -23,4 +23,4 @@ var ActivationTokenSchema = new mongoose.Schema({
}
});
module.exports = ActivationTokenTokenSchema;
\ No newline at end of file
module.exports = ActivationTokenSchema;
\ No newline at end of file
......@@ -4,7 +4,7 @@
var mongoose = require('mongoose');
var AccessTokenSchema = new mongoose.Schema({
var ForgetTokenSchema = new mongoose.Schema({
user: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User',
......@@ -23,4 +23,4 @@ var AccessTokenSchema = new mongoose.Schema({
}
});
module.exports = AccessTokenSchema;
\ No newline at end of file
module.exports = ForgetTokenSchema;
\ No newline at end of file
{
"name": "mirera-db",
"version": "1.5.0",
"version": "1.5.1",
"description": "DB utils for mirera program testing server",
"main": "index.js",
"scripts": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment