Skip to content

Commit

Permalink
Add issue link to session service FIXMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
forus committed Jun 20, 2024
1 parent a5e6952 commit 19e0849
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,15 @@ public ResponseEntity<List<VirtualStudy>> getUserStudies() throws JsonProcessing
content = @Content(schema = @Schema(implementation = Session.class)))
public ResponseEntity<Session> 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<Session> 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);
}

Expand Down

0 comments on commit 19e0849

Please sign in to comment.