Skip to content

Commit 39d0cd4

Browse files
committed
Cleanup
1 parent 1be8d60 commit 39d0cd4

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

src/api/repository/winnings.repo.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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,

src/dto/winning.dto.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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

215205
export class WinningCreateRequestDto {

0 commit comments

Comments
 (0)