diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-17 21:57:43 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-17 21:57:43 -0400 |
commit | 3f6f0a878b15aa5c569a8b522d1b24915749498e (patch) | |
tree | 0c0ca1e180098298cd2e96384e576efa6ed2859a /src/client/util/Import & Export/DirectoryImportBox.tsx | |
parent | b7c8c8499bd62196bc6e30de1bd663af16a282ab (diff) |
batching developments
Diffstat (limited to 'src/client/util/Import & Export/DirectoryImportBox.tsx')
-rw-r--r-- | src/client/util/Import & Export/DirectoryImportBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/Import & Export/DirectoryImportBox.tsx b/src/client/util/Import & Export/DirectoryImportBox.tsx index c9d34b594..a86ef9a31 100644 --- a/src/client/util/Import & Export/DirectoryImportBox.tsx +++ b/src/client/util/Import & Export/DirectoryImportBox.tsx @@ -103,7 +103,7 @@ export default class DirectoryImportBox extends React.Component<FieldViewProps> runInAction(() => this.phase = `Internal: uploading ${this.quota - this.completed} files to Dash...`); - const uploads = await validated.batchedMapAsync<FileResponse>(15, async (batch: File[]) => { + const uploads = await validated.batchedMapAsync<FileResponse>(15, async batch => { const formData = new FormData(); const parameters = { method: 'POST', body: formData }; |