spee.ch/server/controllers/api/claim/get/addGetResultsToFileData.js
2018-04-27 10:24:40 -07:00

5 lines
156 B
JavaScript

module.exports = (fileInfo, getResult) => {
fileInfo.fileName = getResult.file_name;
fileInfo.filePath = getResult.download_path;
return fileInfo;
};