Fix bug where assumed dict was namedtuple
This commit is contained in:
parent
473a239d83
commit
39de87869c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class TransactionStore(SQLBaseStore):
|
|||
allow_none=True,
|
||||
)
|
||||
|
||||
if result and result.response_code:
|
||||
if result and result["response_code"]:
|
||||
return result["response_code"], result["response_json"]
|
||||
else:
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue