Fix #1078 - Stop 500 error when GET request on inbox
authorJessica Tallon <jessica@megworld.co.uk>
Tue, 16 Dec 2014 12:15:13 +0000 (12:15 +0000)
committerJessica Tallon <jessica@megworld.co.uk>
Tue, 16 Dec 2014 12:15:13 +0000 (12:15 +0000)
mediagoblin/federation/views.py

index 5b10fb5b5504bb4e385f60b9381f141f316de33f..bd7d9d4ab5174348b06121f25e6b2632acec1364 100644 (file)
@@ -156,7 +156,7 @@ def inbox_endpoint(request, inbox=None):
         )
 
     if inbox is None:
-        inbox = Activity.query.all()
+        inbox = Activity.query
 
     # We want to make a query for all media on the site and then apply GET
     # limits where we can.