Skip to content

Commit 2636302

Browse files
committed
fix reference to old Cloudinary sdk function
1 parent 791e3d8 commit 2636302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CloudinaryAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function has($path)
244244
*/
245245
public function read($path)
246246
{
247-
$resource = (array)$this->adminApi()->resource($path);
247+
$resource = (array)$this->adminApi()->asset($path);
248248
$contents = file_get_contents($resource['secure_url']);
249249

250250
return compact('contents', 'path');

0 commit comments

Comments
 (0)