mirror of
https://github.com/element-hq/synapse
synced 2024-10-01 21:32:40 +00:00
Change API to use properties instead of rows
This commit is contained in:
parent
babfa01cc7
commit
4e7df06166
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class ProfileStore(SQLBaseStore):
|
||||||
retcols=("key", "content",),
|
retcols=("key", "content",),
|
||||||
)
|
)
|
||||||
|
|
||||||
persona = {"rows": {
|
persona = {"properties": {
|
||||||
row["key"]: ujson.loads(row["content"])
|
row["key"]: ujson.loads(row["content"])
|
||||||
for row in rows
|
for row in rows
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue