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
commitc4706dc6b77d8eaa57a3321b61acf76eec49e23b (patch)
tree87902efd48c052eadb909092e033c50cbef62783 /hyperkitty/api.py
parent35d257451025ecff32236962ab30b1736ecb9289 (diff)
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: