File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def subscription_to_identifier(subscription: Subscription) -> str:
3636 elif subscription ["type" ] == "activeAssetCtx" :
3737 return f'activeAssetCtx:{ subscription ["coin" ].lower ()} '
3838 elif subscription ["type" ] == "activeAssetData" :
39- return f'activeAssetData:{ subscription ["coin" ].lower ()} ,{ subscription ["user" ]} '
39+ return f'activeAssetData:{ subscription ["coin" ].lower ()} ,{ subscription ["user" ]. lower () } '
4040
4141
4242def ws_msg_to_identifier (ws_msg : WsMsg ) -> Optional [str ]:
@@ -71,7 +71,7 @@ def ws_msg_to_identifier(ws_msg: WsMsg) -> Optional[str]:
7171 elif ws_msg ["channel" ] == "activeAssetCtx" or ws_msg ["channel" ] == "activeSpotAssetCtx" :
7272 return f'activeAssetCtx:{ ws_msg ["data" ]["coin" ].lower ()} '
7373 elif ws_msg ["channel" ] == "activeAssetData" :
74- return f'activeAssetData:{ ws_msg ["data" ]["coin" ].lower ()} ,{ ws_msg ["data" ]["user" ]} '
74+ return f'activeAssetData:{ ws_msg ["data" ]["coin" ].lower ()} ,{ ws_msg ["data" ]["user" ]. lower () } '
7575
7676
7777class WebsocketManager (threading .Thread ):
You can’t perform that action at this time.
0 commit comments