From eaa8839d614a18414f4fdbcd239ce702de9fc070 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Tue, 27 Feb 2024 16:51:17 +0700 Subject: [PATCH] update setLimitsStorage method --- app/Http/Controllers/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 4380b15..e320f72 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -131,7 +131,7 @@ class Controller extends BaseController return response()->json(['status' => 'failed', 'message' => 'Limited storage maximum!', 'code' => 500], 500); } } - $resultMove = $dokumen->move($folderPath, $name); + $resultMove = $dokumen->move($initPath, $name); return [ 'resultMove' => $resultMove