Skip to content
This repository was archived by the owner on Jul 15, 2020. It is now read-only.

Commit c76fc43

Browse files
Add ext-json
1 parent 8b99bf2 commit c76fc43

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"require": {
1515
"php": "^7.0",
1616
"illuminate/support": "~5|~6|~7",
17-
"cloudinary/cloudinary_php": "2.0.0-beta5"
17+
"cloudinary/cloudinary_php": "2.0.0-beta5",
18+
"ext-json": "*"
1819
},
1920
"require-dev": {
2021
"phpunit/phpunit": "^8.0",

src/Commands/GenerateArchiveCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handle(CloudinaryEngine $engine)
5555
$this->info('Extracting remote file...');
5656

5757
try {
58-
$engine->uploadFiles($remoteUrl);
58+
$engine->uploadFile($remoteUrl);
5959
$this->info('Uploading in progress...');
6060

6161
$this->info('Upload to Cloudinary completed!');

src/Commands/GenerateZipCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function handle(CloudinaryEngine $engine)
5555
$this->info('Extracting remote file...');
5656

5757
try {
58-
$engine->uploadFiles($remoteUrl);
58+
$engine->uploadFile($remoteUrl);
5959
$this->info('Uploading in progress...');
6060

6161
$this->info('Upload to Cloudinary completed!');

0 commit comments

Comments
 (0)