"frontend/src/CreateSurveyForm/Questions.tsx" did not exist on "6702d09080f45fc652b5948f7edb8db166cb9f4b"
Commit 97417b55 authored by 박상호's avatar 박상호 🎼
Browse files

clg

parent 1ac8158f
...@@ -12,7 +12,7 @@ const getCategory = async (req, res) => { ...@@ -12,7 +12,7 @@ const getCategory = async (req, res) => {
} }
const getSubCategory = async (req, res) => { const getSubCategory = async (req, res) => {
console.log(req.params); console.log("req.params=", req.params);
const { sub } = req.params const { sub } = req.params
try { try {
const subcategory = await Category.findOne({}, { _id: 0}).select(`${sub}`) const subcategory = await Category.findOne({}, { _id: 0}).select(`${sub}`)
......
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