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 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: