diff --git a/disk/Googledrive.php b/disk/Googledrive.php index 491c316..fa8d45f 100644 --- a/disk/Googledrive.php +++ b/disk/Googledrive.php @@ -779,7 +779,7 @@ class Googledrive { $total = size_format($res['limit']); $diskSpace = $used . ' / ' . $total; savecache('diskSpace', $diskSpace, $this->disktag); - } else return json_encode($res); + } else return json_encode($response); } return $diskSpace; }