Skip to content

Commit 6f7bb88

Browse files
committed
remove hardcode login postion
1 parent 956bba8 commit 6f7bb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MRNManager/MarketDataManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public async Task SendLogin(string username, string position, string appID = "25
2929
MsgType = MessageTypeEnum.Request,
3030
Key = new MessageKey()
3131
};
32-
loginReq.Key.Elements = new Dictionary<string, object>{{"ApplicationId", appID}, {"Position", "127.0.0.1/net"}};
32+
loginReq.Key.Elements = new Dictionary<string, object>{{"ApplicationId", appID}, {"Position", position}};
3333
loginReq.Key.Name = new List<string> {username};
3434

3535
await ClientWebSocketUtils.SendTextMessage(_websocket.WebSocket, loginReq.ToJson());

0 commit comments

Comments
 (0)