From 8a8c8c1cae1e06a7507f58452c2da61f61036686 Mon Sep 17 00:00:00 2001 From: d Date: Thu, 7 Jun 2018 12:11:18 +0800 Subject: [PATCH] some docs supplements --- docs/docs/en.md | 2 +- src/chunk/ChunkUploadHandler.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/en.md b/docs/docs/en.md index ee2175c..6903388 100644 --- a/docs/docs/en.md +++ b/docs/docs/en.md @@ -139,7 +139,7 @@ This process is divided in three phases: start, upload< #### start -This is the first phase of the process. We'll tell the backend that we are going to upload a file, with certain `size` and `mime_type`. +This is the first phase of the process. We'll tell the backend that we are going to upload a file, with certain `size`, `name` and `mime_type`. Use the option `startBody` to add more parameters to the body of this request. diff --git a/src/chunk/ChunkUploadHandler.js b/src/chunk/ChunkUploadHandler.js index 97f21de..13cc192 100644 --- a/src/chunk/ChunkUploadHandler.js +++ b/src/chunk/ChunkUploadHandler.js @@ -45,7 +45,7 @@ export default class ChunkUploadHandler { } /** - * Gets the file size + * Gets the file name */ get fileName () { return this.file.name