File tree Expand file tree Collapse file tree
src/domain/template/application/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export abstract class TemplateCollector {
4545 questionData . getId ( ) ,
4646 userTemplateData . getId ( ) ,
4747 questionContent ! ,
48- formatDate ( userTemplateData . getCreatedAt ( ) . toString ( ) ) ,
48+ formatDate ( userTemplateData . getTemplateDate ( ) . toString ( ) ) ,
4949 questionData ,
5050 userTemplateData . getLikes ( ) . length . toString ( ) ,
5151 userTemplateData . getComments ( ) . length . toString ( ) ,
@@ -91,7 +91,7 @@ export abstract class TemplateCollector {
9191 userTemplateId : userTemplate . getId ( ) ,
9292 questionContentId : questionContent ! . getId ( ) ,
9393 content : questionContent ! . getContent ( ) ,
94- createdAt : formatDate ( userTemplate . getCreatedAt ( ) . toString ( ) ) ,
94+ createdAt : formatDate ( userTemplate . getTemplateDate ( ) . toString ( ) ) ,
9595 visibility : questionContent . getVisibility ( ) ,
9696 category : mongoQuestion . type ,
9797 question : mongoQuestion . content ,
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ export class TemplateQueryByDate
6464 userChallengeDatas : UserChallenge [ ] ,
6565 status : ChallengeStatusEnum ,
6666 ) {
67- console . log ( userChallengeDatas ) ;
6867 const questionIds = this . dataMapperService . extractQuestionIds ( userTemplateData , status ) ;
6968 const questionData =
7069 status === ChallengeStatusEnum . WRITON
You can’t perform that action at this time.
0 commit comments