Commit c43e449d authored by taivo's avatar taivo
Browse files

KEEL-59: added key also to the file data response

parent f3912024
......@@ -185,7 +185,11 @@ function SessionService() {
var filesList = {};
for(var i in session.outputFiles){
filesList[i] = { fileName: session.outputFiles[i].fileName, contentType: session.outputFiles[i].contentType };
filesList[i] = {
key: i,
fileName: session.outputFiles[i].fileName,
contentType: session.outputFiles[i].contentType
};
}
response.data.files = filesList;
......
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