Finish copy trading
This commit is contained in:
@@ -194,6 +194,7 @@ public class PostgreSqlBotRepository : IBotRepository
|
||||
var query = _context.Bots
|
||||
.AsNoTracking()
|
||||
.Include(m => m.User)
|
||||
.Include(m => m.MasterBotUser)
|
||||
.AsQueryable();
|
||||
|
||||
// Apply filters
|
||||
|
||||
@@ -754,7 +754,8 @@ public static class PostgreSqlMappers
|
||||
Fees = entity.Fees,
|
||||
LongPositionCount = entity.LongPositionCount,
|
||||
ShortPositionCount = entity.ShortPositionCount,
|
||||
MasterBotUserId = entity.MasterBotUserId
|
||||
MasterBotUserId = entity.MasterBotUserId,
|
||||
MasterBotUser = entity.MasterBotUser != null ? Map(entity.MasterBotUser) : null
|
||||
};
|
||||
|
||||
return bot;
|
||||
|
||||
Reference in New Issue
Block a user