Skip to content

Commit 272b90a

Browse files
committed
remove code
1 parent c6d99d7 commit 272b90a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/api/withdrawal/dto/withdraw.dto.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ import {
1010
} from 'class-validator';
1111
import { ENV_CONFIG } from 'src/config';
1212

13-
export function ConditionalApiProperty(
14-
condition: boolean,
15-
options: Parameters<typeof ApiProperty>[0],
16-
) {
17-
return condition ? ApiProperty(options) : () => undefined;
18-
}
1913
export class WithdrawRequestDtoBase {
2014
@ApiProperty({
2115
description: 'The ID of the winnings to withdraw',

0 commit comments

Comments
 (0)