summaryrefslogtreecommitdiffstats
path: root/hyperkitty/api.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-11-09 13:54:13 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-11-09 13:54:13 +0100
commitb6b540c44917744098805e5f70207289a3755eac (patch)
tree87902efd48c052eadb909092e033c50cbef62783 /hyperkitty/api.py
parent9433114ad50a8a1eab972e3990b9a37447e931f3 (diff)
downloadhyperkitty-b6b540c44917744098805e5f70207289a3755eac.tar.gz
hyperkitty-b6b540c44917744098805e5f70207289a3755eac.tar.xz
hyperkitty-b6b540c44917744098805e5f70207289a3755eac.zip
Use the new thread object in KittyStore
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 6c80f0d..1fc8212 100644
--- a/hyperkitty/api.py
+++ b/hyperkitty/api.py
@@ -51,7 +51,7 @@ class ThreadResource(View):
def get(self, request, mlist_fqdn, threadid):
list_name = mlist_fqdn.split('@')[0]
store = get_store(request)
- thread = store.get_messages_in_thread(list_name, threadid)
+ thread = store.get_thread(list_name, threadid)
if not thread:
return HttpResponse(status=404)
else: