mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-02 20:59:12 +01: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,
|
allow_none=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
if result and result.response_code:
|
if result and result["response_code"]:
|
||||||
return result["response_code"], result["response_json"]
|
return result["response_code"], result["response_json"]
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue