@@ -75,25 +75,25 @@ export class EcoVerificationService {
7575 throw new BusinessException ( ErrorType . ECO_VERIFICATION_NOT_FOUND ) ;
7676 }
7777
78- const existsToday = await this . memberEcoVerificationRepo
79- . createQueryBuilder ( 'mev' )
80- . where ( 'mev.memberId = :memberId' , { memberId } )
81- . andWhere ( 'mev.ecoVerificationId = :ecoVerificationId' , {
82- ecoVerificationId : ecoVerificationId ,
83- } )
84- . andWhere ( 'mev.status != :status' , {
85- status : EcoVerificationStatus . REJECTED ,
86- } )
87- . andWhere ( 'DATE(mev.createdAt) = :today' , {
88- today : tz ( ) . format ( 'YYYY-MM-DD' ) ,
89- } )
90- . getExists ( ) ;
91-
92- if ( existsToday ) {
93- throw new BusinessException (
94- ErrorType . ALREADY_APPROVED_ECO_VERIFICATION_TODAY ,
95- ) ;
96- }
78+ // const existsToday = await this.memberEcoVerificationRepo
79+ // .createQueryBuilder('mev')
80+ // .where('mev.memberId = :memberId', { memberId })
81+ // .andWhere('mev.ecoVerificationId = :ecoVerificationId', {
82+ // ecoVerificationId: ecoVerificationId,
83+ // })
84+ // .andWhere('mev.status != :status', {
85+ // status: EcoVerificationStatus.REJECTED,
86+ // })
87+ // .andWhere('DATE(mev.createdAt) = :today', {
88+ // today: tz().format('YYYY-MM-DD'),
89+ // })
90+ // .getExists();
91+ //
92+ // if (existsToday) {
93+ // throw new BusinessException(
94+ // ErrorType.ALREADY_APPROVED_ECO_VERIFICATION_TODAY,
95+ // );
96+ // }
9797
9898 const { isValid, reason } = await this . openaiService . verifyImageByType (
9999 imageUrl ,
0 commit comments