From 80d93cb852177a7c327da27fd1f23a05935b412c Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 5 Aug 2021 18:11:46 +0800 Subject: [PATCH] temp fix add driver error --- disk/Onedrive.php | 1 + 1 file changed, 1 insertion(+) diff --git a/disk/Onedrive.php b/disk/Onedrive.php index 2f59e5c..7bd82ee 100644 --- a/disk/Onedrive.php +++ b/disk/Onedrive.php @@ -457,6 +457,7 @@ class Onedrive { } $tmp = null; + $tmp['Driver'] = get_class($this); if ($_POST['DriveType']=='Onedrive') { /*$api = $this->api_url . '/me'; $arr = curl('GET', $api, '', [ 'Authorization' => 'Bearer ' . $this->access_token ], 1);