File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,17 +196,6 @@ export class WinningsRepository {
196196 } ;
197197 }
198198
199- if ( ( searchProps as any ) . paymentMethodTypes ) {
200- ( queryWhere as any ) . payment . some = {
201- ...queryWhere . payment ! . some ,
202- payment_method : {
203- payment_method_type : {
204- in : ( searchProps as any ) . paymentMethodTypes ,
205- } ,
206- } ,
207- } ;
208- }
209-
210199 const orderBy = this . getOrderByWithWinnerId (
211200 searchProps . sortBy ,
212201 searchProps . sortOrder ,
Original file line number Diff line number Diff line change @@ -200,16 +200,6 @@ export class WinningRequestDto extends SortPagination {
200200 @IsString ( { each : true } )
201201 @IsNotEmpty ( { each : true } )
202202 billingAccounts ?: string [ ] ;
203-
204- @ApiProperty ( {
205- description : 'Filter by payment method types (e.g. taas)' ,
206- example : [ 'taas' ] ,
207- required : false ,
208- } )
209- @IsOptional ( )
210- @IsArray ( )
211- @IsString ( { each : true } )
212- paymentMethodTypes ?: string [ ] ;
213203}
214204
215205export class WinningCreateRequestDto {
You can’t perform that action at this time.
0 commit comments