diff --git a/models/generateRound.js b/models/generateRound.js index 164219b..48eb765 100644 --- a/models/generateRound.js +++ b/models/generateRound.js @@ -1,22 +1,22 @@ -const mongoose = require("mongoose"); +const mongoose = require('mongoose'); const generatedRoundSchema = new mongoose.Schema({ - htmlContent: { - type: String, - required: true, - }, - requestedBy: { - type: String, - required: true, - }, - authorTag: { - type: String, - required: true, - }, - timestamp: { - type: String, - required: true, - } + htmlContent: { + type: String, + required: true, + }, + requestedBy: { + type: String, + required: true, + }, + authorTag: { + type: String, + required: true, + }, + timestamp: { + type: String, + required: true, + }, }); -module.exports = mongoose.model("GeneratedRounds", generatedRoundSchema); +module.exports = mongoose.model('GeneratedRounds', generatedRoundSchema); diff --git a/models/userScore.js b/models/userScore.js index 3cf1754..5c069ff 100644 --- a/models/userScore.js +++ b/models/userScore.js @@ -1,14 +1,14 @@ -const mongoose = require("mongoose"); +const mongoose = require('mongoose'); const userScoreSchema = new mongoose.Schema({ - authorID: { - type: String, - required: true, - }, - score: { - type: Number, - required: true, - }, + authorID: { + type: String, + required: true, + }, + score: { + type: Number, + required: true, + }, }); -module.exports = mongoose.model("UserScore", userScoreSchema); +module.exports = mongoose.model('UserScore', userScoreSchema);