We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d028d commit 039927eCopy full SHA for 039927e
app/Console/Commands/SyncArticleImages.php
@@ -51,6 +51,11 @@ protected function fetchUnsplashImageDataFromId(string $imageId): ?array
51
52
$response = $response->json();
53
54
+ // Trigger as download...
55
+ Http::retry(3, 100, throw: false)
56
+ ->withToken(config('services.unsplash.access_key'), 'Client-ID')
57
+ ->get($response['links']['download_location']);
58
+
59
return [
60
'image_url' => $response['urls']['raw'],
61
'author_name' => $response['user']['name'],
0 commit comments