Skip to content

Commit

Permalink
Fix typo in notify controller
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyCupic committed Oct 23, 2023
1 parent 66e9c1f commit 21c9253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/Controller/Callback/Cloudinary/Notify.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private function handleContextChanged(array $requestContent): void
$filenameFromUrl = basename($publicId);
try {
$apiResource = Uploader::explicit(
$requestContent['to_public_id'],
CloudinaryRemoteId::fromRemoteId($resource->getRemoteId())->getResourceId(),
[
'type' => CloudinaryRemoteId::fromRemoteId($resource->getRemoteId())->getType(),
'resource_type' => CloudinaryRemoteId::fromRemoteId($resource->getRemoteId())->getResourceType(),
Expand Down

0 comments on commit 21c9253

Please sign in to comment.