Skip to content

Commit 481e64b

Browse files
committed
Add isSurvey to run config
1 parent fc1fe6e commit 481e64b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/wise/portal/presentation/web/controllers/InformationController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ private void getRunConfigParameters(HttpServletRequest request, JSONObject confi
679679
config.put("startTime", run.getStartTimeMilliseconds());
680680
config.put("endTime", run.getEndTimeMilliseconds());
681681
config.put("isLockedAfterEndDate", run.isLockedAfterEndDate());
682+
config.put("isSurvey", run.isSurvey());
682683
}
683684

684685
private void printConfigToResponse(HttpServletResponse response, JSONObject config)
@@ -785,6 +786,7 @@ private void addDummyUserInfoToConfig(JSONObject config) {
785786

786787
/**
787788
* Gets the workgroup for the logged in user
789+
*
788790
* @param run
789791
* @return Workgroup for the logged in user
790792
*/

0 commit comments

Comments
 (0)