Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey committed Jul 29, 2024
1 parent da8a520 commit 1aca368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AmoFileClient/AmoFileClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class AmoFileClient {

async uploadFile (fileName: string, filePath: string, contentType: string) {
if (this.debug) console.log('uploadFile', {fileName, filePath, contentType});
const splitSize = 32 * 1024; // max 128 kb
const splitSize = 128 * 1024; // max 128 kb
const partsMap = await this.getPartsMap(filePath, splitSize);

// создаем сессию
Expand Down

0 comments on commit 1aca368

Please sign in to comment.