The download+host+422 orchestration was a private controller method doing IO and throwing — that's an operation, not a controller concern. Move it to App\Actions\Post\HostInlineMedia::execute() (alongside CreatePost/UpdatePost) so the controller stays thin and the logic is reusable/testable. |
||
|---|---|---|
| .. | ||
| CreatePost.php | ||
| DeletePost.php | ||
| DuplicatePost.php | ||
| HostInlineMedia.php | ||
| SyncPostPlatforms.php | ||
| UpdatePost.php | ||