Skip to content

Commit aabd6c5

Browse files
Mei HsiehMei Hsieh
authored andcommitted
DEVDOCS-12374 flip Java steps 3 and 4
1 parent 2de1ab2 commit aabd6c5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/main/java/com/docusign/controller/rooms/examples/R009ControllerAssignFormToFormGroup.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,24 @@ public R009ControllerAssignFormToFormGroup(DSConfiguration config, Session sessi
4444
protected void onInitModel(WorkArguments args, ModelMap model) throws Exception {
4545
super.onInitModel(args, model);
4646

47-
//ds-snippet-start:Rooms9Step3
47+
//ds-snippet-start:Rooms9Step4
4848
this.formGroupsApi = createFormGroupsApi(
4949
this.session.getBasePath(), this.user.getAccessToken()
5050
);
5151
FormGroupSummaryList formGroupSummaryList = formGroupsApi.getFormGroups(this.session.getAccountId());
52-
//ds-snippet-end:Rooms9Step3
52+
//ds-snippet-end:Rooms9Step4
5353

54-
//ds-snippet-start:Rooms9Step4
54+
//ds-snippet-start:Rooms9Step3
5555
List<FormSummary> forms = GetFormSummaryListService.getFormSummaryList(
5656
createFormLibrariesApi(session.getBasePath(), this.user.getAccessToken()),
5757
this.session.getAccountId());
58-
//ds-snippet-end:Rooms9Step4
58+
//ds-snippet-end:Rooms9Step3
5959

6060
model.addAttribute(MODEL_FORM_GROUP_LIST, formGroupSummaryList.getFormGroups());
6161
model.addAttribute(MODEL_FORM_LIST, forms);
6262
}
6363

6464
@Override
65-
// ***DS.snippet.0.start
6665
protected Object doWork(WorkArguments args, ModelMap model,
6766
HttpServletResponse response) throws IOException, ApiException {
6867
try {

0 commit comments

Comments
 (0)