Price reminder and init approval
* Start price reminder grain * Add config and init grain at startup * Save init wallet when already init
This commit is contained in:
@@ -34,7 +34,8 @@ public static class PostgreSqlMappers
|
||||
Key = entity.Key,
|
||||
Secret = entity.Secret,
|
||||
User = entity.User != null ? Map(entity.User) : null,
|
||||
Balances = new List<Balance>() // Empty list for now, balances handled separately if needed
|
||||
Balances = new List<Balance>(), // Empty list for now, balances handled separately if needed
|
||||
IsGmxInitialized = entity.IsGmxInitialized
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,6 +51,7 @@ public static class PostgreSqlMappers
|
||||
Key = account.Key,
|
||||
Secret = account.Secret,
|
||||
UserId = account.User.Id,
|
||||
IsGmxInitialized = account.IsGmxInitialized
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user