Skip to content

Commit

Permalink
$option->image_url
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Mar 28, 2024
1 parent e1fc306 commit 2a491ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Controllers/DeletePollOptionImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface
if (filter_var($option->image_url, FILTER_VALIDATE_URL)) {
} else {
$this->events->dispatch(
new PollImageDeleting($option->image, $actor)
new PollImageDeleting($option->image_url, $actor)
);

// otherwise we check and delete it from the filesystem
Expand Down

0 comments on commit 2a491ea

Please sign in to comment.