minor fixes

This commit is contained in:
Aleksandr Trushkin
2024-02-04 21:43:38 +03:00
parent 3d5b88ab99
commit 308d48b948
2 changed files with 2 additions and 2 deletions

View File

@ -1019,7 +1019,7 @@ func parseEwayDumpAction(ctx context.Context, cmd *cli.Command) error {
Msg("processed items")
for k := range seenItems {
out, err := repository.GoodsItem().Delete(ctx, k)
_, err := repository.GoodsItem().Delete(ctx, k)
if err != nil {
logger.Warn().Err(err).Str("sku", k).Msg("unable to delete item")
continue

View File

@ -53,7 +53,7 @@ func (c *client) Category() entity.CategoryRepository {
}
func (c *client) GoodsItem() entity.GoodsItemRepository {
return newGoodsItemClient(c.db)
return newGoodsItemClient(c.db, useJSON)
}
func (c *client) QueueClient() entity.MessageQueue {