Change API to use properties instead of rows

This commit is contained in:
Erik Johnston 2016-11-01 11:20:55 +00:00
parent babfa01cc7
commit 4e7df06166

View file

@ -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
}} }}