room.controller.js 330 Bytes
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
2
3
4
5
import { Room } from "../models/index.js";
import config from "../config/app.config.js";

const login = async (req, res) => {
  try {
Kim, Chaerin's avatar
.    
Kim, Chaerin committed
6
    console.log("room= ", req.body);
Kim, Chaerin's avatar
Kim, Chaerin committed
7
8
9
10
11
12
13
14
15
16
    res.json("안녕");
  } catch (error) {
    console.log(error);
    return res.status(500).send("안녕 중 에러");
  }
};

export default {
  login,
};