From c06b8c0992f934057c916d391dc182c40757f917 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 7 Mar 2021 22:35:33 +0800 Subject: [PATCH] rm not use param --- disk/Onedrive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/Onedrive.php b/disk/Onedrive.php index 1128cb1..d464d82 100644 --- a/disk/Onedrive.php +++ b/disk/Onedrive.php @@ -337,7 +337,7 @@ class Onedrive { $filename = spurlencode($file['name']); $filename = path_format($file['path'] . '/' . $filename); //echo $filename; - $result = $this->MSAPI('DELETE', $filename, ''); + $result = $this->MSAPI('DELETE', $filename); return output(json_encode($this->files_format(json_decode($result['body'], true))), $result['stat']); return output($result['body'], $result['stat']); }