fix: invalid key "src" with no detector

This commit is contained in:
2026-02-08 13:09:40 +01:00
parent 9be9393be8
commit 09dfeb01d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ class ProjectsPump implements PumpInterface
try {
$info = $this->scoutService->get($url);
return new ProjectVideo($info->src, $info->cover, $info->image);
return new ProjectVideo($info->url, $info->cover, $info->image);
} catch (\Exception $e) {
return null;
}
@@ -16,6 +16,6 @@ class ProjectVideoMapTransformer implements PropertyTransformerInterface
{
$info = $this->scoutService->get($value);
return new ProjectVideo($info->src, $info->cover, $info->image);
return new ProjectVideo($info->url, $info->cover, $info->image);
}
}