Skip to content

Commit 42e69f5

Browse files
committed
변수명 수정
1 parent bf75be9 commit 42e69f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ admin.initializeApp({
1010
credential: admin.credential.cert(serAccount)
1111
})
1212

13-
sequelize.sync({alter: true})
13+
sequelize.sync({alter: false})
1414
.then(() => {
1515
console.log('데이터베이스 연결 성공');
1616
})

controller/homeController.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ module.exports = {
218218
})
219219

220220
//오늘 질문인지
221-
const answerWithIsToday = await homeService.isToday(answer);
221+
const answerWithIsToday = await homeService.isTodayWithFormat(answer);
222222

223223
res.status(code.OK).send(util.success(code.OK, message.GET_QUESTION_SUCCESS, answerWithIsToday));
224224

@@ -306,7 +306,7 @@ module.exports = {
306306
})
307307

308308
//오늘 질문인지
309-
const answerWithIsToday = await homeService.isToday(answer);
309+
const answerWithIsToday = await homeService.isTodayWithFormat(answer);
310310

311311
res.status(code.OK).send(util.success(code.OK, message.CHANGE_QUESTION_SUCCESS, answerWithIsToday));
312312

0 commit comments

Comments
 (0)