Skip to content

Commit

Permalink
Merge pull request #104 from kyungmi/master
Browse files Browse the repository at this point in the history
[BUGFIX] fix 'session id of a notification is unknown' error.
  • Loading branch information
hwshim committed Sep 23, 2015
2 parents 42bcde8 + 45e647b commit cafa11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/fs/lib/fs-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ router.post('/webida/api/fs/file/:fsid/*',
var pathStr = Path.join('/', decodeURI(req.params[0]));
var wfsUrl = 'wfs://' + fsid + Path.join('/', decodeURI(req.params[0]));
var form;
var fields = [];
var fields = {};
var uid = req.user && req.user.uid;
logger.info('writeFile', req.user, wfsUrl);

Expand All @@ -1603,7 +1603,7 @@ router.post('/webida/api/fs/file/:fsid/*',
form
.on('field', function (field, value) {
logger.info('field = ', field, 'value = ', value);
fields.push([field, value]);
fields[field] = value;
})
.on('file', function (name, file) {
logger.info('file', name, file);
Expand Down

0 comments on commit cafa11c

Please sign in to comment.