summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-11-01 11:20:55 +0000
committerErik Johnston <erik@matrix.org>2016-11-01 11:20:55 +0000
commit4e7df061663beda4df821cbe8468b36a9952ba79 (patch)
tree59f5bda1e625c35d63841a3c7d06e7f3a08f56bd
parentUse new tables (diff)
downloadsynapse-4e7df061663beda4df821cbe8468b36a9952ba79.tar.xz
Change API to use properties instead of rows
-rw-r--r--synapse/storage/profile.py2
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
         }}