`binance`: adjust earch to expect `Pair`s

rekt_pps
Tyler Goodlet 2023-03-26 18:15:54 -04:00
parent ccfafeeec2
commit ff285fbbda
1 changed files with 4 additions and 4 deletions

View File

@ -636,7 +636,7 @@ async def open_symbol_search(
score_cutoff=50,
)
# repack in dict form
await stream.send(
{item[0]['symbol']: item[0]
for item in matches}
)
await stream.send({
item[0].symbol: item[0]
for item in matches
})