diff --git a/src/models/brackets.js b/src/models/brackets.js index 9e4fe4f..a19ae31 100644 --- a/src/models/brackets.js +++ b/src/models/brackets.js @@ -1,6 +1,6 @@ const { Schema, model } = require('mongoose') -const streams = new Schema({ +const brackets = new Schema({ name: { type: String, required: true, @@ -15,6 +15,6 @@ const streams = new Schema({ }], }) -const Stream = model('Streams', streams) +const Bracket = model('Brackets', brackets) -module.exports = Stream \ No newline at end of file +module.exports = Bracket \ No newline at end of file