Commit 4b1f4027 authored by A. Koch's avatar A. Koch

return original filename as well

parent 5756377c
Pipeline #1129 passed with stage
......@@ -28,7 +28,8 @@ class Uploads extends TinyEmitter {
assetHost += `/${config.assets.bucket}`
_this._response(req, res, {
file: `${assetHost}/${filename}`
file: `${assetHost}/${filename}`,
originalName: req.file.originalname
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment