summaryrefslogtreecommitdiffstats
path: root/hyperkitty/api.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-05 14:43:39 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-05 14:43:39 +0200
commit54f6eb7982a562a3526ee3b9be62fa6e9344dbdb (patch)
tree1bc46849e095bd5868e13ca78a6479c4c4164b29 /hyperkitty/api.py
parentf409640d25c33247d06a3f00c006426e593cb751 (diff)
downloadhyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.gz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.xz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.zip
Adapt to KittyStore's API change
Diffstat (limited to 'hyperkitty/api.py')
-rw-r--r--hyperkitty/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/api.py b/hyperkitty/api.py
index 1cea89c..1e8a05f 100644
--- a/hyperkitty/api.py
+++ b/hyperkitty/api.py
@@ -34,7 +34,7 @@ class ThreadResource(View):
def get(self, request, mlist_fqdn, threadid):
list_name = mlist_fqdn.split('@')[0]
STORE = ThreadSafeStorePool().get()
- thread = STORE.get_thread(list_name, threadid)
+ thread = STORE.get_messages_in_thread(list_name, threadid)
if not thread:
return HttpResponse(status=404)
else: