reload view after remote upload was finished

This commit is contained in:
Čarodej
2022-04-20 19:20:48 +02:00
parent dc8e3c8141
commit e4dd9de931
4 changed files with 8 additions and 6 deletions

View File

@@ -27,9 +27,7 @@ class RemoteUploadFileController extends Controller
: auth()->user();
// Execute job for get content from url and save
($this->getContentFromExternalSource)
->onQueue()
->execute($request->all(), $user);
($this->getContentFromExternalSource)($request->all(), $user);
return response('Files were successfully added to the upload queue', 201);
}