minor fixes
This commit is contained in:
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user