Skip to content

Commit c257d0d

Browse files
authored
Update Prepr.php
1 parent 4e51d7a commit c257d0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Prepr.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private function processFileUpload()
210210
$this->params['upload_phase'] = 'transfer';
211211
$this->params['file_chunk'] = $stream;
212212

213-
$prepr = (new Prepr($this->authorization,$this->userId,$this->baseUrl))
213+
$prepr = (new Prepr($this->authorization,$this->baseUrl))
214214
->path('assets/{id}/multipart', [
215215
'id' => $id,
216216
])
@@ -224,7 +224,7 @@ private function processFileUpload()
224224

225225
$this->params['upload_phase'] = 'finish';
226226

227-
return (new Prepr($this->authorization,$this->userId,$this->baseUrl))
227+
return (new Prepr($this->authorization,$this->baseUrl))
228228
->path('assets/{id}/multipart', [
229229
'id' => $id,
230230
])
@@ -249,7 +249,7 @@ public function autoPaging()
249249
$query['limit'] = $perPage;
250250
$query['offset'] = $page*$perPage;
251251

252-
$result = (new Prepr($this->authorization,$this->userId,$this->baseUrl))
252+
$result = (new Prepr($this->authorization,$this->baseUrl))
253253
->path($this->path)
254254
->query($query)
255255
->get();

0 commit comments

Comments
 (0)