Skip to content

Commit

Permalink
Merge pull request #129 from project-sunbird/SB-6275
Browse files Browse the repository at this point in the history
Sb 6275
  • Loading branch information
bvinayakumar authored Sep 3, 2018
2 parents aec361c + 92a6505 commit c637075
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit c637075

Please sign in to comment.