Skip to content

Commit

Permalink
Remove old stuff from InputFiles
Browse files Browse the repository at this point in the history
For #12 #94
  • Loading branch information
dustin-H committed Mar 11, 2016
1 parent bda6843 commit 67a7a4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions modules/InputFiles/generateFormData.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export default function (bauhaus, options, files, cb, progressEvent) {
end: end,
time: Date.now() + '-' + k,
size: files[i].size,
lastModified: files[i].lastModified,
path: bauhaus.props.path
lastModified: files[i].lastModified
}

name = options.fileprefix + options.filename(templateObject) + '.' + end
Expand Down
2 changes: 0 additions & 2 deletions modules/InputFiles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ class InputFiles extends Component {
maxUploads: 0,
uploadUrl: '/api/containers/${container}/upload',
deleteUrl: '/api/containers/${container}/files/${name}',
getUrl: '/api/containers/${container}/upload',
downloadUrl: '/api/containers/${container}/download/${name}',
fileId: '/api/containers/${container}/download/${name}',
getFilesInContainer: '/api/containers/${container}/files',
Expand All @@ -208,7 +207,6 @@ class InputFiles extends Component {

options.uploadUrl = _.template(options.uploadUrl)
options.deleteUrl = _.template(options.deleteUrl)
options.getUrl = _.template(options.getUrl)
options.downloadUrl = _.template(options.downloadUrl)
options.getFilesInContainer = _.template(options.getFilesInContainer)
options.createContainer = _.template(options.createContainer)
Expand Down

0 comments on commit 67a7a4b

Please sign in to comment.