Skip to content

Commit

Permalink
fix wrong DTO
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Apr 10, 2024
1 parent 8e610d9 commit bfb65bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Actions/Photo/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use App\DTO\PhotoCreate\DuplicateDTO;
use App\DTO\PhotoCreate\InitDTO;
use App\DTO\PhotoCreate\StandaloneDTO;
use App\DTO\PhotoCreate\VideoPartnerDTO;
use App\Exceptions\PhotoResyncedException;
use App\Exceptions\PhotoSkippedException;
use App\Image\Files\NativeLocalFile;
Expand Down Expand Up @@ -176,7 +177,7 @@ private function handleStandalone(InitDTO $initDTO): Photo

private function handleVideoLivePartner(InitDTO $initDTO): Photo
{
$dto = new StandaloneDTO($initDTO);
$dto = new VideoPartnerDTO($initDTO);

$pipes = [
VideoPartner\GetVideoPath::class,
Expand Down

0 comments on commit bfb65bb

Please sign in to comment.