임태민

Update Post.js

- Post 생성 시간이 접속시간으로 고정되어 있던 오류를 발견하여 고쳤습니다.
......@@ -7,7 +7,7 @@ var postSchema = mongoose.Schema({
address:{type:String, required:[true, 'address is required!']},
body:{type:String, required:[true, 'Content is required!']},
author:{type:mongoose.Schema.Types.ObjectId, ref:'user', required:true},
createdAt:{type:Date, default:Date.now()},
createdAt:{type:Date, default:Date.now},
updatedAt:{type:Date}
});
......