spee.ch/server/controllers/api/claim/get/addGetResultsToFileData.js

6 lines
156 B
JavaScript
Raw Normal View History

2018-04-27 19:24:40 +02:00
module.exports = (fileInfo, getResult) => {
fileInfo.fileName = getResult.file_name;
fileInfo.filePath = getResult.download_path;
return fileInfo;
};