Skip to content

Commit 15c4687

Browse files
committed
fix: fix problem with validating cron
1 parent 1c727c7 commit 15c4687

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import { IsString } from 'class-validator';
12
import { IsCron } from '../../common/decorator/validation/IsCron';
23

34
export class EnqueueRepeatingSchemaDto {
5+
@IsString()
46
@IsCron()
57
readonly cron: string;
68
}

0 commit comments

Comments
 (0)