Applied validation for few fields in call
This commit is contained in:
@@ -30,9 +30,9 @@ public class CallValidatorServiceImpl {
|
||||
.notNull(response.getAmountMax(), "amountMax")
|
||||
.notNull(response.getThreshold(), "threshold")
|
||||
.notNull(response.getEmail(),"email")
|
||||
// .notNull(response.getAmountMin(),"amountMin")
|
||||
// .notNull(response.getStartTime(),"startTime")
|
||||
// .notNull(response.getEndTime(),"endTime")
|
||||
.notNull(response.getAmountMin(),"amountMin")
|
||||
.notNull(response.getStartTime(),"startTime")
|
||||
.notNull(response.getEndTime(),"endTime")
|
||||
.notNull(response.getDocumentationRequested(), "documentationRequested")
|
||||
.notEmpty(response.getAimedTo(), "aimedTo")
|
||||
.notEmpty(response.getCriteria(), "criteria")
|
||||
|
||||
Reference in New Issue
Block a user