mirror of https://github.com/Xhofe/alist
chore: rename main items
parent
5166d73b4d
commit
4ba04fa7db
|
@ -14,7 +14,7 @@ type Item struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Items struct {
|
type Items struct {
|
||||||
Main []Item `json:"main"`
|
Common []Item `json:"common"`
|
||||||
Additional []Item `json:"additional"`
|
Additional []Item `json:"additional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ func registerDriverItems(config driver.Config, addition driver.Additional) {
|
||||||
mainItems := getMainItems(config)
|
mainItems := getMainItems(config)
|
||||||
additionalItems := getAdditionalItems(tAddition, config.DefaultRoot)
|
additionalItems := getAdditionalItems(tAddition, config.DefaultRoot)
|
||||||
driverItemsMap[config.Name] = driver.Items{
|
driverItemsMap[config.Name] = driver.Items{
|
||||||
Main: mainItems,
|
Common: mainItems,
|
||||||
Additional: additionalItems,
|
Additional: additionalItems,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue