Fix bot update with the tradingtype
This commit is contained in:
@@ -65,6 +65,7 @@ public class PostgreSqlBotRepository : IBotRepository
|
||||
// Update the existing entity properties directly instead of creating a new one
|
||||
existingEntity.Name = bot.Name;
|
||||
existingEntity.Ticker = bot.Ticker;
|
||||
existingEntity.TradingType = bot.TradingType;
|
||||
existingEntity.Status = bot.Status;
|
||||
existingEntity.StartupTime = bot.StartupTime;
|
||||
existingEntity.TradeWins = bot.TradeWins;
|
||||
|
||||
Reference in New Issue
Block a user