Skip to content

Commit

Permalink
Fix remote resource location refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyCupic committed Oct 19, 2023
1 parent 9710f84 commit 66e9c1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/API/Values/RemoteResourceLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ public function setWatermarkText(?string $waterMarkText): self

public function refresh(self $remoteResourceLocation): self
{
$this->remoteResource = $remoteResourceLocation->getRemoteResource();
$this->setSource($remoteResourceLocation->getSource());
$this->setCropSettings($remoteResourceLocation->getCropSettings());
$this->setWatermarkText($remoteResourceLocation->getWatermarkText());

return $this;
}
}

0 comments on commit 66e9c1f

Please sign in to comment.