filter less than 3 dimensions

This commit is contained in:
Aleksandr Trushkin
2024-02-23 14:55:02 +03:00
parent fd9e5ade18
commit 5a10d21689
6 changed files with 53 additions and 14 deletions

View File

@ -351,7 +351,7 @@ func (itemsHandlers) FixSizes(ctx context.Context, cmd *cli.Command) error {
valueBeenUpdated = true
}
if dimensionDispatcher.dispatch(ctx, key, value, &item.Sizes) {
if dimensionDispatcher.applyDimensionValue(ctx, key, value, &item.Sizes) {
valueBeenUpdated = true
log.Debug().Str("key", key).Any("sizes", item.Sizes).Msg("been updated")
}