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 eea7af7
Showing 1 changed file with 2 additions and 2 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?
//FIXME? anonymous user can create sessions. Do we really want that? https://github.com/cBioPortal/cbioportal/issues/10843
return 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 eea7af7

Please sign in to comment.