Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ydombrovsky committed Oct 4, 2022
1 parent fe494e2 commit b97e870
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/DropmefilesAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,16 @@ private function sendChunk(
int $chunk,
int $chunkSize,
int $sendFileSize,
\SplFileInfo $fileInfo,
SplFileInfo $fileInfo,
string $fileNameTech,
string $uid,
int $attempt = 0
): bool
{
): bool {
try {
$response = $this->httpClient->request(
'POST',
$this::HOST.'/s3/uploadch?name='.urlencode($fileInfo->getFilename()).'&chunk='.$chunk.
'&chunks='.$chunks.'&updir='.$uid,
$this::HOST.'/s3/uploadch?name='.urlencode($fileInfo->getFilename()).'&chunk=' . $chunk .
'&chunks=' . $chunks . '&updir=' . $uid,
[
RequestOptions::HEADERS => array_merge($this->getBaseHeaders(), [
'Content-Type' => 'application/octet-stream',
Expand Down

0 comments on commit b97e870

Please sign in to comment.