Commit 1e39e798 authored by 우지원's avatar 우지원
Browse files

r

parent 9cb335c0
...@@ -41,8 +41,7 @@ const makeRoom = async (req, res) => { ...@@ -41,8 +41,7 @@ const makeRoom = async (req, res) => {
const getClosedList = async (req, res) => { const getClosedList = async (req, res) => {
try { try {
console.log('req확인',req.query._id) console.log('req확인',req.query._id)
let list = await Room.find({ moderator let list = await Room.find({ member: [req.query._id] })
: req.query._id })
console.log('c_list가져오기', list) console.log('c_list가져오기', list)
return res.json(list) return res.json(list)
} catch (error) { } catch (error) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment