Skip to content
Snippets Groups Projects
Commit edfcb834 authored by Daniel Wagner-Hall's avatar Daniel Wagner-Hall
Browse files

Flatten devices into a dict, not a list

parent b8680b82
No related branches found
No related tags found
No related merge requests found
......@@ -42,16 +42,15 @@ class AdminHandler(BaseHandler):
ret = {
"user_id": user.to_string(),
"devices": [
{
"device_id": None,
"devices": {
"": {
"sessions": [
{
"connections": connections,
}
]
},
],
},
}
defer.returnValue(ret)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment