• R/O
  • HTTP
  • SSH
  • HTTPS

zephyr: Commit

This repository is for zephyr, which is implemented for a GUI of Eos.


Commit MetaInfo

Revision2f95504594ecd67c222318804c5eccc33f5583c8 (tree)
Time2016-01-26 21:21:41
Authorhimetani_cafe <fumifumi@yasu...>
Commiterhimetani_cafe

Log Message

[BUG FIX] API endpoint (post) /api/v1/fileUpload

Change Summary

Incremental Difference

--- a/server/api/v1/fileUpload/index.js
+++ b/server/api/v1/fileUpload/index.js
@@ -70,9 +70,9 @@ router.post('/', function(req, res) {
7070 filesInfo[i].status = 'success';
7171 filesInfo[i].fileId = fileId;
7272 fs.renameSync(filesInfo[i].tmpPath, workspace + fileId);
73- delete tmpPaths[i];
73+ delete filesInfo[i].tmpPath;
7474 })
75- res.send(responsesInfo);
75+ res.send(filesInfo);
7676 });
7777 });
7878
Show on old repository browser