Skip to content

Commit

Permalink
Merge branch 'release/1.0.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 27, 2017
2 parents 779a0e0 + df57a55 commit f51beec
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
<a name="1.0.7"></a>
## [1.0.7](https://github.com/adonisjs/adonis-bodyparser/compare/v1.0.6...v1.0.7) (2017-09-27)



<a name="1.0.6"></a>
## [1.0.6](https://github.com/adonisjs/adonis-bodyparser/compare/v1.0.5...v1.0.6) (2017-09-02)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@adonisjs/bodyparser",
"version": "1.0.6",
"version": "1.0.7",
"description": "Body parser middleware for Adonis 4.0 and above",
"main": "index.js",
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions src/Multipart/File.js
Expand Up @@ -235,6 +235,17 @@ class File {
return this._size
}

/**
* Uploaded file name
*
* @attribute fileName
*
* @return {String}
*/
get fileName () {
return this._fileName
}

/**
* Pushes an error to the errors array and also
* set the file status to `error`.
Expand Down

0 comments on commit f51beec

Please sign in to comment.