diff --git a/src/main/java/org/cbioportal/web/SessionServiceController.java b/src/main/java/org/cbioportal/web/SessionServiceController.java index f0dfb1f5acd..1c0ebbae585 100644 --- a/src/main/java/org/cbioportal/web/SessionServiceController.java +++ b/src/main/java/org/cbioportal/web/SessionServiceController.java @@ -281,15 +281,15 @@ public ResponseEntity> getUserStudies() throws JsonProcessing content = @Content(schema = @Schema(implementation = Session.class))) public ResponseEntity addSession(@PathVariable Session.SessionType type, @RequestBody JSONObject body) throws IOException { - //FIXME? anonymous user can create sessions. Do we really want that? - return addSession(type, Optional.empty(), body); + //FIXME? anonymous user can create sessions. Do we really want that? https://github.com/cBioPortal/cbioportal/issues/10843 + addSession(type, Optional.empty(), body); } @RequestMapping(value = "/virtual_study/save", method = RequestMethod.POST) @ApiResponse(responseCode = "200", description = "OK", content = @Content(schema = @Schema(implementation = Session.class))) public ResponseEntity addUserSavedVirtualStudy(@RequestBody JSONObject body) throws IOException { - //FIXME? anonymous user can create virtual studies. Do we really want that? + //FIXME? anonymous user can create virtual studies. Do we really want that? https://github.com/cBioPortal/cbioportal/issues/10843 return addSession(Session.SessionType.virtual_study, Optional.of(SessionOperation.save), body); }