From 4e7df061663beda4df821cbe8468b36a9952ba79 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 1 Nov 2016 11:20:55 +0000 Subject: [PATCH] Change API to use properties instead of rows --- synapse/storage/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}