diff --git a/src/ws/crud.js b/src/ws/crud.js index 91018c6..3b57f63 100644 --- a/src/ws/crud.js +++ b/src/ws/crud.js @@ -59,10 +59,10 @@ const rosterFns = { const matchFns = { getAll: async () => { - return await matches.find().populate('orange').populate('blue').populate('stream').exec() + return await matches.find().populate('orange').populate('blue').exec() }, getById: async (id) => { - return await matches.findById(id).populate('orange').populate('blue').populate('stream').exec() + return await matches.findById(id).populate('orange').populate('blue').exec() }, update: async(id, data) => { return await matches.findByIdAndUpdate(id, data).exec()