| @@ -49,10 +49,10 @@ | ||
| 49 | 49 | if ($this->deleteService === null) $this->deleteService = new DeleteApiService(); |
| 50 | 50 | return $this->deleteService->send($url, $headers, (array) $data); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - public function upload($url, $localFile, $data = [], $headers = []) | |
| 53 | + public function upload($url, $localFile, $data = [], $headers = [], $options = []) | |
| 54 | 54 | { |
| 55 | 55 | if ($this->fileUploadService === null) $this->fileUploadService = new FileUploadApiService(); |
| 56 | - return $this->fileUploadService->upload($url, $localFile, $data, $headers); | |
| 56 | + return $this->fileUploadService->upload($url, $localFile, $data, $headers, $options); | |
| 57 | 57 | } |
| 58 | 58 | } |