Skip to content

Commit 6c29998

Browse files
author
Eugene Min
committed
Hotfix on UpladsAPI
1 parent 67f603f commit 6c29998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Milax/Mconsole/API/Uploads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function __construct()
2222
{
2323
$this->uploadsPath = MX_UPLOADS_PATH;
2424
$this->requestData = Request::all();
25-
$this->presets = MconsoleUploadPreset::getCached();
2625
}
2726

2827
/**
@@ -254,6 +253,7 @@ public function handle($closure)
254253
*/
255254
protected function handleUpload()
256255
{
256+
$this->presets = MconsoleUploadPreset::getCached();
257257
$files = collect();
258258
$errors = [];
259259

0 commit comments

Comments
 (0)