diff --git a/src/service/StorageService.php b/src/service/StorageService.php index d8fcdd7..db7ded8 100644 --- a/src/service/StorageService.php +++ b/src/service/StorageService.php @@ -78,7 +78,7 @@ class StorageService extends Service 'path' => $this->path, 'remotely' => $this->remotely, 'save_path' => "{$this->path}{$name}", - 'size' => $this->bytes("{$this->path}{$name}") + 'size' => $this->bytes($name) ]; }