Remember to clean up after file stream combine

master
Garrett Mills 4 years ago
parent 86f274e6d2
commit 1246883c0b
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -70,6 +70,7 @@ module.exports = exports = async (message, di) => {
})
const stat = await fs.promises.stat(combined_file.path)
await fs.promises.unlink(combined_file.path)
node.uploaded_file_id = new_file.id
node.size = stat.size

Loading…
Cancel
Save