🎨 change internal type

This commit is contained in:
微凉
2021-12-16 15:44:18 +08:00
parent bd7d27efc7
commit 92a0453e00
5 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ func (driver Onedrive) Items() []base.Item {
Description: "",
},
{
Name: "onedrive_type",
Name: "internal_type",
Label: "onedrive type",
Type: base.TypeSelect,
Required: true,

View File

@ -46,7 +46,7 @@ func (driver Onedrive) GetMetaUrl(account *model.Account, auth bool, path string
if auth {
return host.Oauth
}
switch account.OnedriveType {
switch account.InternalType {
case "onedrive":
{
if path == "/" || path == "\\" {