Skip to content

Commit

Permalink
re-store URL
Browse files Browse the repository at this point in the history
  • Loading branch information
samwilson committed Aug 15, 2024
1 parent df39a33 commit 2880d0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BookProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ protected function getPicturesData( array $pictures ) {
} elseif ( str_starts_with( $url, '/' ) ) {
$url = 'https://' . $this->api->getDomainName() . $url;
}
$picture->url = $url;
yield function () use ( $client, $url ) {
// We could use the 'sink' option here, but for https://github.com/Kevinrob/guzzle-cache-middleware/issues/82
// @phan-suppress-next-line PhanUndeclaredMethod Magic method not declared in the interface
Expand Down

0 comments on commit 2880d0a

Please sign in to comment.