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

15 lines
282 B
JavaScript

const createFileData = ({ name, claimId, outpoint, height, address, nsfw, contentType }) => {
return {
name,
claimId,
outpoint,
height,
address,
fileName: '',
filePath: '',
fileType: contentType,
nsfw,
};
};
module.exports = createFileData;