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. |
||
|---|---|---|
| .. | ||
| ApiKeyController.php | ||
| Controller.php | ||
| LabelController.php | ||
| PlatformController.php | ||
| PostController.php | ||
| SignatureController.php | ||
| SocialAccountController.php | ||
| UploadController.php | ||
| WorkspaceController.php | ||