Rename mongoose model serverFps

pull/50/head
HardiReady 2019-02-11 18:45:21 +01:00
parent 3234c45047
commit 294f1db552
2 changed files with 2 additions and 2 deletions

View File

@ -44,4 +44,4 @@ const LogServerFpsSchema = new Schema({
// optional more indices
LogServerFpsSchema.index({war: 1});
module.exports = mongoose.model('LogServerFpsSchema', LogServerFpsSchema);
module.exports = mongoose.model('LogServerFps', LogServerFpsSchema);

View File

@ -79,7 +79,7 @@ const PlayerSchema = new Schema({
},
performance: {
type: mongoose.Schema.Types.ObjectId,
ref: 'LogServerFpsSchema',
ref: 'LogServerFps',
required: false,
},
travelDistance: {