File tree 1 file changed +9
-3
lines changed
request-validator/src/main/java/org/sunbird/validator/systemsettings
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
public class SystemSettingsRequestValidator extends BaseRequestValidator {
9
9
public void validateSetSystemSetting (Request request ) {
10
10
validateParam (
11
- (String ) request .getRequest ().get (JsonKey .ID ), ResponseCode .mandatoryParamsMissing );
11
+ (String ) request .getRequest ().get (JsonKey .ID ),
12
+ ResponseCode .mandatoryParamsMissing ,
13
+ JsonKey .ID );
12
14
validateParam (
13
- (String ) request .getRequest ().get (JsonKey .FIELD ), ResponseCode .mandatoryParamsMissing );
15
+ (String ) request .getRequest ().get (JsonKey .FIELD ),
16
+ ResponseCode .mandatoryParamsMissing ,
17
+ JsonKey .FIELD );
14
18
validateParam (
15
- (String ) request .getRequest ().get (JsonKey .VALUE ), ResponseCode .mandatoryParamsMissing );
19
+ (String ) request .getRequest ().get (JsonKey .VALUE ),
20
+ ResponseCode .mandatoryParamsMissing ,
21
+ JsonKey .VALUE );
16
22
}
17
23
}
You can’t perform that action at this time.
0 commit comments