File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ admin.initializeApp({
10
10
credential : admin . credential . cert ( serAccount )
11
11
} )
12
12
13
- sequelize . sync ( { alter : true } )
13
+ sequelize . sync ( { alter : false } )
14
14
. then ( ( ) => {
15
15
console . log ( '데이터베이스 연결 성공' ) ;
16
16
} )
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ module.exports = {
218
218
} )
219
219
220
220
//오늘 질문인지
221
- const answerWithIsToday = await homeService . isToday ( answer ) ;
221
+ const answerWithIsToday = await homeService . isTodayWithFormat ( answer ) ;
222
222
223
223
res . status ( code . OK ) . send ( util . success ( code . OK , message . GET_QUESTION_SUCCESS , answerWithIsToday ) ) ;
224
224
@@ -306,7 +306,7 @@ module.exports = {
306
306
} )
307
307
308
308
//오늘 질문인지
309
- const answerWithIsToday = await homeService . isToday ( answer ) ;
309
+ const answerWithIsToday = await homeService . isTodayWithFormat ( answer ) ;
310
310
311
311
res . status ( code . OK ) . send ( util . success ( code . OK , message . CHANGE_QUESTION_SUCCESS , answerWithIsToday ) ) ;
312
312
You can’t perform that action at this time.
0 commit comments