From 41ca3bc56f2c3868cf18b7e84f339db8f36c8787 Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Wed, 1 Dec 2021 14:24:38 +0800
Subject: [PATCH] try fix no driver in config sometime
---
disk/Onedrive.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/disk/Onedrive.php b/disk/Onedrive.php
index cdf1b23..3ae42a0 100644
--- a/disk/Onedrive.php
+++ b/disk/Onedrive.php
@@ -611,6 +611,7 @@ class Onedrive {
texta[i].style.height = texta[i].scrollHeight + \'px\';
}
';
+ $tmptoken['Driver'] = get_class($this);
$tmptoken['refresh_token'] = $refresh_token;
$tmptoken['token_expires'] = time()+7*24*60*60;
$response = setConfigResponse( setConfig($tmptoken, $this->disktag) );
@@ -733,7 +734,7 @@ class Onedrive {