From 43b1046aba833011ae8fd05f07ce4ee583a7dc0e Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 15 Mar 2021 21:28:53 +0800 Subject: [PATCH] fix bug --- disk/Googledrive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }