Skip to content

Commit

Permalink
FIX : lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSaeedkia committed Jan 18, 2025
1 parent 744581f commit 7931d41
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions internal/engine/command/market/market.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ func NewMarketCmd(clientMgr client.IManager, priceCache cache.Cache[string, enti
}
}

func (c *MarketCmd) GetCommand() *command.Command {

cmd := c.buildMarketCommand()
func (m *MarketCmd) GetCommand() *command.Command {
cmd := m.buildMarketCommand()
cmd.AppIDs = entity.AllAppIDs()
cmd.TargetFlag = command.TargetMaskMainnet

c.subCmdPrice.AppIDs = entity.AllAppIDs()
c.subCmdPrice.TargetFlag = command.TargetMaskMainnet
m.subCmdPrice.AppIDs = entity.AllAppIDs()
m.subCmdPrice.TargetFlag = command.TargetMaskMainnet

return cmd
}

0 comments on commit 7931d41

Please sign in to comment.