mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 20:40:16 -05:00
Revert "removed redundant ocis config parsing"
This reverts commit c700ccab1f.
This commit is contained in:
@@ -20,6 +20,10 @@ func ThumbnailsCommand(cfg *config.Config) *cli.Command {
|
||||
command.PrintVersion(cfg.Thumbnails),
|
||||
},
|
||||
Before: func(ctx *cli.Context) error {
|
||||
if err := ParseConfig(ctx, cfg); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.Thumbnails.Commons = cfg.Commons
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user