temp fix add driver error

pull/397/head
qkqpttgf 2021-08-05 18:11:46 +08:00 committed by GitHub
parent b2b5703977
commit 80d93cb852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);