summaryrefslogtreecommitdiffstats
path: root/hyperkitty/api.py
diff options
context:
space:
mode:
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: