diff options
author | Erik Johnston <erik@matrix.org> | 2016-11-01 11:20:55 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-11-01 11:20:55 +0000 |
commit | 4e7df061663beda4df821cbe8468b36a9952ba79 (patch) | |
tree | 59f5bda1e625c35d63841a3c7d06e7f3a08f56bd | |
parent | Use new tables (diff) | |
download | synapse-4e7df061663beda4df821cbe8468b36a9952ba79.tar.xz |
Change API to use properties instead of rows
-rw-r--r-- | synapse/storage/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py index 94415c9ead..a432b1eaab 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py @@ -111,7 +111,7 @@ class ProfileStore(SQLBaseStore): retcols=("key", "content",), ) - persona = {"rows": { + persona = {"properties": { row["key"]: ujson.loads(row["content"]) for row in rows }} |