Commit 69cc7a7d authored by 이재연's avatar 이재연
Browse files

a

parent 63618602
......@@ -4,7 +4,6 @@ import config from '../config/app.config.js'
import isLength from 'validator/lib/isLength.js'
import bcrypt from "bcryptjs";
<<<<<<< HEAD
const multer = require('multer');
const uploadimg = multer({ dest: 'uploads/' });
......@@ -25,7 +24,6 @@ const update = async (req, res) => {
res.status(500).send('이미지 업데이트 실패')
}
}
=======
const getUser = async (req, res) => {
console.log('유저가져왔다아아아ㅏㅇ:',req.body)
console.log('id:',req.body.id)
......@@ -34,7 +32,6 @@ const getUser = async (req, res) => {
console.log('user:',user)
req.json(user)
};
>>>>>>> origin/seoyeon2
const login = async (req, res) => {
try {
......@@ -115,4 +112,5 @@ export default {
login,
signup,
logout,
imgUpload,update
}
......@@ -9,7 +9,11 @@
"build": "tsc -p ."
},
"nodemonConfig": {
"ignore": ["test/*", "docs/*", "client/*"]
"ignore": [
"test/*",
"docs/*",
"client/*"
]
},
"repository": {
"type": "git",
......
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