fix brackets model name

main v1.4.1
Ayush Mukherjee 4 years ago
parent 1c27fa6758
commit 5be1b1fe48

@ -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
module.exports = Bracket
Loading…
Cancel
Save