mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
@@ -53,6 +53,6 @@ class BackfillLargeCoverImageAction extends BackfillStudioImageAction
|
||||
*/
|
||||
protected function getMalImage(ExternalResource $malResource): ?Image
|
||||
{
|
||||
return $this->createImage("https://cdn.myanimelist.net/img/common/companies/$malResource->external_id.png");
|
||||
return $this->createImage("https://cdn.myanimelist.net/images/company/$malResource->external_id.png");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ class BackfillLargeCoverImageTest extends TestCase
|
||||
$file = File::fake()->image($this->faker->word().'.jpg');
|
||||
|
||||
Http::fake([
|
||||
'https://cdn.myanimelist.net/img/common/companies/*' => Http::response($file->getContent()),
|
||||
'https://cdn.myanimelist.net/images/company/*' => Http::response($file->getContent()),
|
||||
]);
|
||||
|
||||
$resource = ExternalResource::factory()->createOne([
|
||||
|
||||
Reference in New Issue
Block a user