PluginProbe
ووسلام – همگام سازی ووکامرس و باسلام / 1.10.19
ووسلام – همگام سازی ووکامرس و باسلام v1.10.19
1.10.19 1.10.20 1.10.18 1.10.17 1.10.15 1.10.14 1.10.13 1.10.12 1.10.10 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.2 1.9.1 1.9.0 1.8.8 1.8.5 1.8.6 All 53 releases
← All changes | includes/Services/ApiServiceManager.php +2 -2 1.8.61.10.19 View file →
@@ -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 }