diff --git a/request-validator/src/main/java/org/sunbird/validator/systemsettings/SystemSettingsRequestValidator.java b/request-validator/src/main/java/org/sunbird/validator/systemsettings/SystemSettingsRequestValidator.java index b2f2bedfe..dfd96247f 100644 --- a/request-validator/src/main/java/org/sunbird/validator/systemsettings/SystemSettingsRequestValidator.java +++ b/request-validator/src/main/java/org/sunbird/validator/systemsettings/SystemSettingsRequestValidator.java @@ -8,10 +8,16 @@ public class SystemSettingsRequestValidator extends BaseRequestValidator { public void validateSetSystemSetting(Request request) { validateParam( - (String) request.getRequest().get(JsonKey.ID), ResponseCode.mandatoryParamsMissing); + (String) request.getRequest().get(JsonKey.ID), + ResponseCode.mandatoryParamsMissing, + JsonKey.ID); validateParam( - (String) request.getRequest().get(JsonKey.FIELD), ResponseCode.mandatoryParamsMissing); + (String) request.getRequest().get(JsonKey.FIELD), + ResponseCode.mandatoryParamsMissing, + JsonKey.FIELD); validateParam( - (String) request.getRequest().get(JsonKey.VALUE), ResponseCode.mandatoryParamsMissing); + (String) request.getRequest().get(JsonKey.VALUE), + ResponseCode.mandatoryParamsMissing, + JsonKey.VALUE); } }