Commit e0272103 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

not null validation added

parent 2d9dc832
......@@ -30,8 +30,8 @@ public class FunctionsController extends BaseController {
@GetMapping(value = "/{functionId}")
public SbmlFunction getFunction(
@PathVariable(value = "projectId") String projectId,
@PathVariable(value = "modelId") Integer modelId,
@PathVariable(value = "functionId") Integer functionId) throws QueryException {
@PathVariable(value = "modelId") int modelId,
@PathVariable(value = "functionId") int functionId) throws QueryException {
return sbmlFunctionService.getFunctionById(projectId, modelId, functionId);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment