mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00
chore: rename main items
This commit is contained in:
parent
5166d73b4d
commit
4ba04fa7db
@ -14,7 +14,7 @@ type Item struct {
|
||||
}
|
||||
|
||||
type Items struct {
|
||||
Main []Item `json:"main"`
|
||||
Common []Item `json:"common"`
|
||||
Additional []Item `json:"additional"`
|
||||
}
|
||||
|
||||
|
@ -47,7 +47,7 @@ func registerDriverItems(config driver.Config, addition driver.Additional) {
|
||||
mainItems := getMainItems(config)
|
||||
additionalItems := getAdditionalItems(tAddition, config.DefaultRoot)
|
||||
driverItemsMap[config.Name] = driver.Items{
|
||||
Main: mainItems,
|
||||
Common: mainItems,
|
||||
Additional: additionalItems,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user