spee.ch/server/controllers/api/claim/get/createFileData.js
2018-07-25 17:29:59 -07:00

12 lines
263 B
JavaScript

const createFileData = ({ name, claimId, outpoint, contentType: fileType }, { file_name: fileName, download_path: filePath }) => {
return {
name,
claimId,
outpoint,
fileName,
filePath,
fileType,
};
};
module.exports = createFileData;