Skip to content
Snippets Groups Projects
Commit 6670a47d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '285-download-of-source-file' into 'master'

Resolve "download of source file"

Closes #285

See merge request piotr.gawron/minerva!199
parents 96ff8539 288989d4
No related branches found
No related tags found
1 merge request!199Resolve "download of source file"
Pipeline #
......@@ -190,6 +190,10 @@ public class ProjectRestImpl extends BaseRestImpl {
if (project == null) {
throw new ObjectNotFoundException("Project with given id doesn't exist");
}
if (project.getInputData() != null) {
// fetch the data from db
project.getInputData().getFileContent();
}
return project.getInputData();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment