INFRA-3971 | Harinder | Setting max limit of grant window to 24 hours through validation
This commit is contained in:
@@ -11,5 +11,6 @@ export const justInTimeAccessValidationSchema = yup.object({
|
||||
.number()
|
||||
.required('is Required')
|
||||
.positive('should be positive')
|
||||
.integer('should be integer'),
|
||||
.integer('should be integer')
|
||||
.max(24, 'should be less than or equal to 24'),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user