mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
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…
Add table
Add a link
Reference in a new issue