mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
api: Fix identities command not able to modify data.
This commit is contained in:
@@ -1861,8 +1861,8 @@ class BasicSwap(BaseApp):
|
||||
rv = []
|
||||
for row in q:
|
||||
identity = {
|
||||
"address": row[0],
|
||||
"label": row[1],
|
||||
"address": row[0] if row[0] is not None else "",
|
||||
"label": row[1] if row[1] is not None else "",
|
||||
"num_sent_bids_successful": zeroIfNone(row[2]),
|
||||
"num_recv_bids_successful": zeroIfNone(row[3]),
|
||||
"num_sent_bids_rejected": zeroIfNone(row[4]),
|
||||
|
||||
Reference in New Issue
Block a user